Share via


EmailAttachment.MimeType Property

Definition

Gets or sets the MIME type of the attachment.

public:
 property Platform::String ^ MimeType { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring MimeType();

void MimeType(winrt::hstring value);
public string MimeType { get; set; }
var string = emailAttachment.mimeType;
emailAttachment.mimeType = string;
Public Property MimeType As String

Property Value

String

Platform::String

winrt::hstring

The MIME type of the attachment.

Windows requirements

App capabilities
email emailSystem

Applies to