XPathItemExtensions.DeepEquals Method (XPathItem, XPathItem, NodeEqualityOptions)XPathItemExtensions.DeepEquals Method (XPathItem, XPathItem, NodeEqualityOptions)XPathItemExtensions::DeepEquals Method (XPathItem^, XPathItem^, NodeEqualityOptions)
- XmlPrime 2.6
- Other Versions ▼
- Namespace: XmlPrime.ExtensionMethodsXmlPrime.ExtensionMethodsXmlPrime.ExtensionMethods
- Assembly: XmlPrime.ExtensionMethods (in XmlPrime.ExtensionMethods.dll)
Syntax
Public Shared Function DeepEquals( _ item As System.Xml.XPath.XPathItem, _ other As System.Xml.XPath.XPathItem, _ comparison As NodeEqualityOptions _ ) As Boolean
public static bool DeepEquals( System.Xml.XPath.XPathItem item, System.Xml.XPath.XPathItem other, NodeEqualityOptions comparison )
public: static bool DeepEquals( System.Xml.XPath::XPathItem^ item, System.Xml.XPath::XPathItem^ other, NodeEqualityOptions comparison )
Parameters
- item
Type: System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem^
The first value to compare.
- other
Type: System.Xml.XPath.XPathItemSystem.Xml.XPath.XPathItemSystem.Xml.XPath::XPathItem^
The second value to compare.
- comparison
Type: XmlPrime.ExtensionMethods.NodeEqualityOptionsXmlPrime.ExtensionMethods.NodeEqualityOptionsXmlPrime.ExtensionMethods::NodeEqualityOptions
Specifies the manner in which nodes are compared for equality.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if this value is equal to other; false
False
false
otherwise.
Remarks
Comparison follows the rules of fn:deep-equal
.
This method is equivalent to calling passing CodepointCollationCodepointCollationCodepointCollation and CurrentTimeZoneCurrentTimeZoneCurrentTimeZone as arguments to DeepEquals (XPathItem, XPathItem, Collation, TimeZone)DeepEquals (XPathItem, XPathItem, Collation, TimeZone)DeepEquals (XPathItem^, XPathItem^, Collation^, TimeZone).