Share via


EndOfDataEventArgs.MailItem property

The MailItem property gets or sets an instance of the MailItem class that is associated with the event to which this instance of the EndOfDataEventArgs class was passed.

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 EndOfDataEventArgs
Dim value As MailItem

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

Property value

Type: Microsoft.Exchange.Data.Transport.MailItem

See also

Reference

EndOfDataEventArgs class

EndOfDataEventArgs members

Microsoft.Exchange.Data.Transport.Smtp namespace