共用方式為


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
    Get
    Friend Set
'Usage
Dim instance As DataCommandEventArgs
Dim value As MailItem

value = instance.MailItem
public MailItem MailItem { get; internal set; }

Property value

Type: Microsoft.Exchange.Data.Transport.MailItem

See also

Reference

DataCommandEventArgs class

DataCommandEventArgs members

Microsoft.Exchange.Data.Transport.Smtp namespace