XPathItemExtensions.DeepEquals Method (XPathItem, XPathItem)XPathItemExtensions.DeepEquals Method (XPathItem, XPathItem)XPathItemExtensions::DeepEquals Method (XPathItem^, XPathItem^)
- 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 _ ) As Boolean
public static bool DeepEquals( System.Xml.XPath.XPathItem item, System.Xml.XPath.XPathItem other )
public: static bool DeepEquals( System.Xml.XPath::XPathItem^ item, System.Xml.XPath::XPathItem^ other )
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.
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).