HttpResponseWrapper.HeaderEncoding Property


Gets or sets the encoding for the header of the current response.

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

public override Encoding HeaderEncoding { get; set; }

Property Value

Type: System.Text.Encoding

The information about the encoding for the current header.

Exception Condition

The encoding value is null.


The encoding value is Unicode.

- or -

The headers have already been sent.

.NET Framework
Available since 3.5
Return to top