get_Encoding()

XmlTextReader::get_Encoding() method

Returns the encoding of the document.

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

Return Value

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

See Also