Редагувати

Поділитися через


Page.ResponseEncoding Property

Definition

Sets the encoding language for the current HttpResponse object.

protected:
 property System::String ^ ResponseEncoding {  void set(System::String ^ value); };
public:
 property System::String ^ ResponseEncoding { System::String ^ get(); void set(System::String ^ value); };
protected string ResponseEncoding { set; }
[System.ComponentModel.Browsable(false)]
public string ResponseEncoding { get; set; }
member this.ResponseEncoding : string
[<System.ComponentModel.Browsable(false)>]
member this.ResponseEncoding : string with get, set
Protected Property ResponseEncoding As String
Public Property ResponseEncoding As String

Property Value

A string that contains the encoding language for the current HttpResponse.

Attributes

Remarks

In most circumstances, do not set this property in code. Set the ResponseEncoding attribute to the value you want using the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the property.

Applies to