XmlLang Property
Collapse the table of content
Expand the table of content

XmlWriter.XmlLang Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When overridden in a derived class, gets the current xml:lang scope.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public virtual string XmlLang { get; }

Property Value

Type: System.String
The current xml:lang scope.

This property allows one component to find out in what state another component has left the writer. For example, perhaps one component wants to tell another which language help text to generate. The language information is communicated by writing an xml:lang attribute.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft