Partager via


SendMailMessage.Encoding Property

Definition

Gets or sets the encoding used for the content of the body and also the subject. This is set to ASCII to ensure there are no problems with any email server.

public:
 property System::Text::Encoding ^ Encoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public System.Text.Encoding Encoding { get; set; }
[System.Management.Automation.Alias(new System.String[] { "BE" })]
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public System.Text.Encoding Encoding { get; set; }
member this.Encoding : System.Text.Encoding with get, set
[<System.Management.Automation.Alias(new System.String[] { "BE" })>]
[<System.Management.Automation.Parameter(ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Encoding : System.Text.Encoding with get, set
Public Property Encoding As Encoding

Property Value

Attributes

Applies to