Mono Class Library: System.Xml.XmlParserContext Overview | Members

System.Xml.XmlParserContext.XmlLang Property

Gets or sets the current xml:lang scope. [Edit]

public string XmlLang { set; get; }

Value

A string specifying the current xml:lang scope. If there is no xml:lang in scope, string.Empty is returned. [Edit]

Remarks

If an attempt is made to set this property to null, it is set to string.Empty.

Note:

The language attribute, xml:lang, specifies the language in which the content and attribute values of the current element are written.

For details on valid xml:lang values, refer to section 2.12 of the W3C Extensible Markup Language (XML) 1.0 recommendation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0