HttpResponseBase.ContentEncoding 屬性

定義

取得或設定目前回應的內容編碼方式。Gets or sets the content encoding of the current response.

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

屬性值

Encoding

目前回應的內容編碼方式。The content encoding of the current response.

例外狀況

永遠。Always.

適用於