Page.ResponseEncoding Property


This API supports the product infrastructure and is not intended to be used directly from your code.

Sets the encoding language for the current HttpResponse object.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

member ResponseEncoding : string with get, set

Property Value

Type: System.String

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

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

.NET Framework
Available since 1.1
Return to top