MailItem.Message Property

When overridden in a derived class, the Message property gets the underlying EmailMessage class object enclosed by the MailItem class object.

Namespace: Microsoft.Exchange.Data.Transport
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property Message As EmailMessage
public abstract EmailMessage Message { get; }
public:
virtual property EmailMessage^ Message {
    EmailMessage^ get () abstract;
}
/** @property */
public abstract EmailMessage get_Message ()
public abstract function get Message () : EmailMessage

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003