MailMessage.GetAlternateViewContent

MailMessage.GetAlternateViewContent method

Gets the content of the alternate view of the specified media type.

public string GetAlternateViewContent(string mediaType)
ParameterTypeDescription
mediaTypeStringThe media type of the view, such as text/calendar.

Return Value

The content of the view, or null if the message has no such view.

See Also