XPathNavigator.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.
Gets the xml:lang
scope for the current node.
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
Property Value
A String that contains the value of the xml:lang
scope, or Empty if the current node has no xml:lang
scope value to return.
Remarks
In the example XML below, when the XPathNavigator is positioned on the name
element, the XmlLang property returns a scope of en-us
indicating that the node is in the scope of a xml:lang="en-us"
attribute.
<root xml:lang="en-us">
<name>Name</name>
</root>
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru