HttpResponseWrapper.ContentEncoding Property
.NET Framework (current version)
Gets or sets the content encoding of the current response.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Text.EncodingThe information about the content encoding of the current response.
| Exception | Condition |
|---|---|
| ArgumentNullException | Attempted to set ContentEncoding to null. |
.NET Framework
Available since 3.5
Available since 3.5
Show: