System::Xml::XmlTextReader::get_Encoding 方法

XmlTextReader::get_Encoding method

返回文档的编码。

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

ReturnValue

编码值。如果不存在 encoding 属性且没有字节顺序标记,则默认使用 UTF-8。

另见