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

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 _
) As Boolean
public static bool DeepEquals(
    System.Xml.XPath.XPathItem item,
    System.Xml.XPath.XPathItem other,
    XmlPrime.Collation collation,
    XmlPrime.TimeZone implicitTimeZone
)
public:
static bool DeepEquals(
    System.Xml.XPath::XPathItem^ item, 
    System.Xml.XPath::XPathItem^ other, 
    XmlPrime::Collation^ collation, 
    XmlPrime::TimeZone implicitTimeZone
)
 

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.

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.