Επεξεργασία

Κοινή χρήση μέσω


HttpResponseWrapper.HeaderEncoding Property

Definition

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

public:
 virtual property System::Text::Encoding ^ HeaderEncoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public override System.Text.Encoding HeaderEncoding { get; set; }
member this.HeaderEncoding : System.Text.Encoding with get, set
Public Overrides Property HeaderEncoding As Encoding

Property Value

The information about the encoding for the current header.

Exceptions

The encoding value is null.

The encoding value is Unicode.

-or-

The headers have already been sent.

Applies to