Share via


MailCommandEventArgs.BodyType property

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

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Property BodyType As BodyType
    Get
    Set
'Usage
Dim instance As MailCommandEventArgs
Dim value As BodyType

value = instance.BodyType

instance.BodyType = value
public BodyType BodyType { get; set; }

Property value

Type: Microsoft.Exchange.Data.Transport.Smtp.BodyType

See also

Reference

MailCommandEventArgs class

MailCommandEventArgs members

Microsoft.Exchange.Data.Transport.Smtp namespace