XmlWriter.XmlLang Propriété

Définition

En cas de substitution dans une classe dérivée, obtient l’étendue actuelle xml:lang .

public:
 virtual property System::String ^ XmlLang { System::String ^ get(); };
public:
 abstract property System::String ^ XmlLang { System::String ^ 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

Valeur de propriété

Étendue actuelle xml:lang .

Exceptions

Une XmlWriter méthode a été appelée avant la fin d’une opération asynchrone précédente. Dans ce cas, InvalidOperationException est levée avec le message « Une opération asynchrone est déjà en cours ».

Remarques

Cette propriété permet à un composant de déterminer l’état dans lequel un autre composant a quitté l’enregistreur. Par exemple, un composant souhaite peut-être indiquer à un autre le texte d’aide de la langue à générer. Les informations de langue sont communiquées en écrivant un xml:lang attribut.

S’applique à