get_Encoding()

XmlValidatingReader::get_Encoding() method

Returns the encoding attribute for the document.

SharedPtr<System::Text::Encoding> System::Xml::XmlValidatingReader::get_Encoding()

Return Value

The encoding value. If no encoding attribute exists, and there is not byte-order mark, this defaults to UTF-8.

See Also