共用方式為


WebHttpBinding.WriteEncoding 屬性

定義

取得或設定用於訊息文字的字元編碼。

public:
 property System::Text::Encoding ^ WriteEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public System.Text.Encoding WriteEncoding { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.EncodingConverter))]
public System.Text.Encoding WriteEncoding { get; set; }
member this.WriteEncoding : System.Text.Encoding with get, set
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.EncodingConverter))>]
member this.WriteEncoding : System.Text.Encoding with get, set
Public Property WriteEncoding As Encoding

屬性值

Encoding

Encoding,表示所使用的字元編碼。 預設為 UTF8Encoding

屬性

例外狀況

設定的值為 null

適用於