Property Encoding
Encoding
Gets or Sets the character encoding.
Declaration
public virtual Encoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
Encoding |
Remarks
The encoding must be a string acceptable for an XML encoding declaration(see section 4.3.3 of the XML 1.0 recommendation).
This method has no effect when the application provides a character stream.