Share via


EmailMessage.GetBodyStream(EmailMessageBodyKind) Method

Definition

Gets the requested email stream such as plain text or HTML.

public:
 virtual IRandomAccessStreamReference ^ GetBodyStream(EmailMessageBodyKind type) = GetBodyStream;
IRandomAccessStreamReference GetBodyStream(EmailMessageBodyKind const& type);
public IRandomAccessStreamReference GetBodyStream(EmailMessageBodyKind type);
function getBodyStream(type)
Public Function GetBodyStream (type As EmailMessageBodyKind) As IRandomAccessStreamReference

Parameters

type
EmailMessageBodyKind

The kind of message body; plain text or HTML.

Returns

The selected body stream.

Windows requirements

App capabilities
email emailSystem

Applies to