Dela via


DataCommandEventArgs.MailItem Property

The MailItem property gets or sets the MailItem for this instance of the DataCommandEventArgs class.

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

Syntax

'Declaration
Public Property MailItem As MailItem
public MailItem MailItem { get; }
public:
property MailItem^ MailItem {
    MailItem^ get ();
}
/** @property */
public MailItem get_MailItem ()
public function get MailItem () : MailItem

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