Share via


EmailMessage.Subject Property

Definition

Gets or sets the subject of the email message.

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

void Subject(winrt::hstring value);
public string Subject { get; set; }
var string = emailMessage.subject;
emailMessage.subject = string;
Public Property Subject As String

Property Value

String

Platform::String

winrt::hstring

The subject of the email.

Windows requirements

App capabilities
email emailSystem

Applies to