XPathItemExtensions.DeepEquals Method (XPathItem, XPathItem, Collation, TimeZone, NodeEqualityOptions)XPathItemExtensions.DeepEquals Method (XPathItem, XPathItem, Collation, TimeZone, NodeEqualityOptions)XPathItemExtensions::DeepEquals Method (XPathItem^, XPathItem^, Collation^, TimeZone, NodeEqualityOptions)

Tests if this XPathItemXPathItemXPathItem is deep-equal to the specified XPathItemXPathItemXPathItem under the specified collation and implicit time zone.

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
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if this value is equal to other; falseFalsefalse otherwise.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionother or collation is null a null reference (Nothing in Visual Basic) nullptr.

Remarks

Comparison follows the rules of fn:deep-equal.