Defines the Item ID and the Recipient, as well as the opening and creation methods for e-mail and text messages.
| C# | Visual Basic |
public class Message : IDisposable
Public Class Message _ Implements IDisposable
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Delete()()() |
Deletes the message from the device.
| |
| Dispose(Boolean) | ||
| Dispose()()() | ||
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | ||
| From |
Gets the Recipient who sent the message.
| |
| GetHashCode()()() | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| ItemId |
Gets the message’s Item ID.
| |
| LastModified |
Gets the date the message was sent.
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MoveTo(MessageFolder) |
Moves the message to the specified folder.
| |
| Properties |
Gets the MailPropertySet.
This object is used for accessing mail item properties.
| |
| Read |
Gets or sets the read state of the message.
| |
| Received |
Gets the date that the message was received.
| |
| To | Gets the collection of primary recipients (those addressed in the To: line) for the message.
| |
| ToString()()() | (Inherited from Object.) |
| Object | ||
| Message | ||
| SmsMessage | ||
| MmsMessage | ||
| EmailMessage | ||
Gets the collection of primary recipients (those addressed in the To: line) for the message.