EmailMessage.Create method (BodyFormat)
The Create method creates a new instance of the EmailMessage class by using the specified BodyFormat.
Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Shared Function Create ( _
bodyFormat As BodyFormat _
) As EmailMessage
'Usage
Dim bodyFormat As BodyFormat
Dim returnValue As EmailMessage
returnValue = EmailMessage.Create(bodyFormat)
public static EmailMessage Create(
BodyFormat bodyFormat
)
Parameters
bodyFormat
Type: Microsoft.Exchange.Data.Transport.Email.BodyFormatOne of the valid BodyFormat enumeration values that specify the format for the body of the e-mail message.
Return value
Type: Microsoft.Exchange.Data.Transport.Email.EmailMessage