Share via


SendMailMessage.Subject Property

Definition

Gets or sets the subject of the email message.

public:
 property System::String ^ Subject { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Subject { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Subject { get; set; }
[System.Management.Automation.Alias(new System.String[] { "sub" })]
[System.Management.Automation.Parameter(Mandatory=false, Position=1, ValueFromPipelineByPropertyName=true)]
public string Subject { get; set; }
[System.Management.Automation.Alias(new System.String[] { "sub" })]
[System.Management.Automation.Parameter(Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Subject { get; set; }
member this.Subject : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "sub" })>]
[<System.Management.Automation.Parameter(Mandatory=false, Position=1, ValueFromPipelineByPropertyName=true)>]
member this.Subject : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "sub" })>]
[<System.Management.Automation.Parameter(Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Subject : string with get, set
Public Property Subject As String

Property Value

Attributes

Applies to