ערוך

שתף באמצעות


XmlQueryRuntime.IsQNameEqual Method

Definition

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

n1
XPathNavigator

An instance of the XPathNavigator class.

n2
XPathNavigator

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