ContentEncoding Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets the Encoding for this response's OutputStream.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public Property ContentEncoding As Encoding
public Encoding ContentEncoding { get; set; }
public:
property Encoding^ ContentEncoding {
Encoding^ get ();
void set (Encoding^ value);
}
member ContentEncoding : Encoding with get, set
function get ContentEncoding () : Encoding
function set ContentEncoding (value : Encoding)
Property Value
Type: System.Text. . :: . .Encoding
An Encoding object suitable for use with the data in the OutputStream property, or nullNothingnullptrunita null reference (Nothing in Visual Basic) if no encoding is specified.
Remarks
An Encoding object can be used to convert byte sequences into character sets (code pages) and characters into byte sequences.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.