XPathItemExtensions.DeepEquals Method (XPathItem, XPathItem, Collation, TimeZone, NodeEqualityOptions)XPathItemExtensions.DeepEquals Method (XPathItem, XPathItem, Collation, TimeZone, NodeEqualityOptions)XPathItemExtensions::DeepEquals Method (XPathItem^, XPathItem^, Collation^, TimeZone, NodeEqualityOptions)
- XmlPrime 4.0
- 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, _ collation As XmlPrime.Collation, _ implicitTimeZone As XmlPrime.TimeZone, _ comparison As NodeEqualityOptions _ ) As Boolean
public static bool DeepEquals( System.Xml.XPath.XPathItem item, System.Xml.XPath.XPathItem other, XmlPrime.Collation collation, XmlPrime.TimeZone implicitTimeZone, NodeEqualityOptions comparison )
public: static bool DeepEquals( System.Xml.XPath::XPathItem^ item, System.Xml.XPath::XPathItem^ other, XmlPrime::Collation^ collation, XmlPrime::TimeZone implicitTimeZone, 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.
- collation
Type: XmlPrime.CollationXmlPrime.CollationXmlPrime::Collation^
The collation to use for the comparison.
- implicitTimeZone
Type: XmlPrime.TimeZoneXmlPrime.TimeZoneXmlPrime::TimeZone
The implicit time zone.
- 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.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | other or collation is null
a null reference (Nothing in Visual Basic)
nullptr . |
Remarks
Comparison follows the rules of fn:deep-equal
.