XmlWriter.XmlLang Property


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

 abstract property System::String ^ XmlLang { System::String ^ get(); };
public abstract string XmlLang { get; }
member this.XmlLang : string
Public MustOverride ReadOnly Property XmlLang As String

Property Value

The current xml:lang scope.


An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."


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.

Applies to