HttpResponseWrapper.ContentEncoding 属性

定义

获取或设置当前响应的内容编码。

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

属性值

Encoding

有关当前响应的内容编码的信息。

例外

尝试将 ContentEncoding 设置为 null

适用于