Represents a Short Message Service (SMS) message.
| C# | Visual Basic |
public class SmsMessage : Message, IDisposable
Public Class SmsMessage _ Inherits Message _ Implements IDisposable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| SmsMessage(ItemId) |
Initializes a new instance of the SmsMessage class, using on an existing native object.
| |
| SmsMessage()()()() |
Initializes a new instance of the SmsMessage class.
| |
| SmsMessage(String, String) |
Initializes a new instance of the SmsMessage class, using the specified account.
Creates a Recipient collection with the specified Recipient phone number, and fills-in the SMS message’s text body.
| |
| Account |
Returns the account which contains this message.
(Inherited from Message.) | |
| Body |
Gets the SMS message’s text body.
| |
| ContextMenuDisable |
Indicate that various menu commands should be greyed out for the message.
(Inherited from Message.) | |
| CopyTo(SmsMessageFolder) |
Copies the message to the specified SmsMessageFolder.
| |
| CopyTo(MessageFolder) |
Copies the message to the specified folder.
(Inherited from Message.) | |
| Delete()()()() |
Deletes the message from the device.
(Inherited from Message.) | |
| Dispose(Boolean) | (Inherited from Message.) | |
| Dispose()()()() | (Inherited from Message.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | (Inherited from Message.) | |
| From |
Gets the Recipient who sent the message.
(Inherited from Message.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ItemId |
Gets the message’s Item ID.
(Inherited from Message.) | |
| LastModified |
Gets the date the message was sent.
(Inherited from Message.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| MessageClass |
Gets or sets the class of the SmsMessage.
| |
| MoveTo(SmsMessageFolder) |
Moves the message to the specified SmsMessageFolder.
| |
| MoveTo(MessageFolder) |
Moves the message to the specified folder.
(Inherited from Message.) | |
| ParentFolder |
Returns the parent folder for this message.
| |
| Properties |
Gets the MailPropertySet.
This object is used for accessing mail item properties.
(Inherited from Message.) | |
| Read |
Gets or sets the read state of the message.
(Inherited from Message.) | |
| Received |
Gets or sets the date that the message was received.
(Inherited from Message.) | |
| RequestDeliveryReport |
Gets and sets a value indicating whether a delivery report is requested.
true if requested; otherwise false.
| |
| Send()()()() |
Sends the SMS message.
| |
| To | Gets the collection of primary recipients (those addressed in the To: line) for the message.
| |
| ToString()()()() | (Inherited from Object.) | |
| Update()()()() | Save the item to the database.
|
| Object | |||
| Message | |||
| SmsMessage | |||
| MmsMessage | |||
Gets the collection of primary recipients (those addressed in the To: line) for the message.
Save the item to the database.