System.Xml.XmlParserContext.XmlLang Property

Gets or sets the current xml:lang scope.

Syntax

public string XmlLang { get; set; }

Value

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

Remarks

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

Requirements

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