XmlQueryRuntime.IsQNameEqual Method
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.
Compares the LocalName and NamespaceURI properties of two XPathNavigator instances to check if they are equal.
Overloads
IsQNameEqual(XPathNavigator, XPathNavigator) |
Compares the LocalName and NamespaceURI properties of two XPathNavigator instances to check if they are equal. |
IsQNameEqual(XPathNavigator, Int32, Int32) |
Determines whether the LocalName and NamespaceURI properties of the specified XPathNavigator are equal to the names specified in the parameters. |
IsQNameEqual(XPathNavigator, XPathNavigator)
- Source:
- XmlQueryRuntime.cs
- Source:
- XmlQueryRuntime.cs
- Source:
- XmlQueryRuntime.cs
Compares the LocalName and NamespaceURI properties of two XPathNavigator instances to check if they are equal.
public:
bool IsQNameEqual(System::Xml::XPath::XPathNavigator ^ n1, System::Xml::XPath::XPathNavigator ^ n2);
public bool IsQNameEqual (System.Xml.XPath.XPathNavigator n1, System.Xml.XPath.XPathNavigator n2);
member this.IsQNameEqual : System.Xml.XPath.XPathNavigator * System.Xml.XPath.XPathNavigator -> bool
Public Function IsQNameEqual (n1 As XPathNavigator, n2 As XPathNavigator) As Boolean
Parameters
An instance of the XPathNavigator class.
An instance of the XPathNavigator class.
Returns
true
if the names are equal; otherwise, false
.
Applies to
IsQNameEqual(XPathNavigator, Int32, Int32)
- Source:
- XmlQueryRuntime.cs
- Source:
- XmlQueryRuntime.cs
- Source:
- XmlQueryRuntime.cs
Determines whether the LocalName and NamespaceURI properties of the specified XPathNavigator are equal to the names specified in the parameters.
public:
bool IsQNameEqual(System::Xml::XPath::XPathNavigator ^ navigator, int indexLocalName, int indexNamespaceUri);
public bool IsQNameEqual (System.Xml.XPath.XPathNavigator navigator, int indexLocalName, int indexNamespaceUri);
member this.IsQNameEqual : System.Xml.XPath.XPathNavigator * int * int -> bool
Public Function IsQNameEqual (navigator As XPathNavigator, indexLocalName As Integer, indexNamespaceUri As Integer) As Boolean
Parameters
- navigator
- XPathNavigator
An instance of the XPathNavigator class.
- indexLocalName
- Int32
A value of type int
.
- indexNamespaceUri
- Int32
A value of type int
.
Returns
true
if the names are equal; otherwise, false
.
Remarks
The IsQNameEqual method calls the GetAtomizedName method to get the local name and the namespace URI based on the indexLocalName
and indexNamespaceUri
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기