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 |
|---|---|---|
| Account |
Returns the account which contains this message.
| |
| ContextMenuDisable |
Indicate that various menu commands should be greyed out for the message.
| |
| CopyTo(MessageFolder) |
Copies the message to the specified folder.
| |
| Delete()()()() |
Deletes the message from the device.
| |
| Dispose(Boolean) | Releases the unmanaged resources used by the Message and optionally releases the managed resources | |
| Dispose()()()() | Releases all resources used by the Message | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | (Overrides Object.Finalize()()()().) | |
| From |
Gets the Recipient who sent the 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.
| |
| 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 or sets 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 | ||
| EmailMessage | ||
| SmsMessage | ||
Gets the collection of primary recipients (those addressed in the To: line) for the message.