SendMailMessage.Subject Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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