This documentation is archived and is not being maintained.

XmlWriter.XmlLang Property

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

[Visual Basic]
Public MustOverride ReadOnly Property XmlLang As String
public abstract string XmlLang {get;}
public: __property virtual String* get_XmlLang() = 0;
public abstract function get XmlLang() : String;

Property Value

The current xml:lang or a null reference (Nothing in Visual Basic) if there is no xml:lang in the current 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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

XmlWriter Class | XmlWriter Members | System.Xml Namespace