HttpResponseBase.ContentEncoding Property

 

Gets or sets the content encoding of the current response.

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

public virtual Encoding ContentEncoding { get; set; }

Property Value

Type: System.Text.Encoding

The content encoding of the current response.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: