XmlWriter.XmlLang Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, gets the current xml:lang
scope.
public:
virtual property System::String ^ XmlLang { System::String ^ get(); };
public:
abstract property System::String ^ XmlLang { System::String ^ get(); };
public virtual string XmlLang { get; }
public virtual string? XmlLang { get; }
public abstract string XmlLang { get; }
member this.XmlLang : string
Public Overridable ReadOnly Property XmlLang As String
Public MustOverride ReadOnly Property XmlLang As String
Property Value
The current xml:lang
scope.
Exceptions
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."
Remarks
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.