Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.XmlLang Property |
Gets the current xml:lang scope. [Edit]
|
A string containing the current xml:lang scope. [Edit]
This property is read-only.
Note:[Edit]This property represents the xml:lang scope within which the current node resides. For example, the following is an XML fragment with xml:lang set to US English:
<root xml:lang="en-us">
<name>Fred</name>
</root>When the reader is positioned on the name element, this property returns "en-us".
The returned string is also in the XmlTextReader.NameTable for the reader.
This property overrides XmlReader.XmlLang.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0