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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.