HttpResponseWrapper.HeaderEncoding 屬性

定義

取得或設定目前回應之標頭的編碼方式。Gets or sets the encoding for the header of the current response.

public:
 virtual property System::Text::Encoding ^ HeaderEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public override System.Text.Encoding HeaderEncoding { get; set; }
member this.HeaderEncoding : System.Text.Encoding with get, set
Public Overrides Property HeaderEncoding As Encoding

屬性值

Encoding

目前標頭的編碼方式相關資訊。The information about the encoding for the current header.

例外狀況

編碼的值是 nullThe encoding value is null.

編碼的值是 UnicodeThe encoding value is Unicode.

-或--or-

已傳送標頭。The headers have already been sent.

適用於