XPathAtomicValue.DeepEquals Method (XPathAtomicValue, Collation, TimeZone)XPathAtomicValue.DeepEquals Method (XPathAtomicValue, Collation, TimeZone)XPathAtomicValue::DeepEquals Method (XPathAtomicValue^, Collation^, TimeZone)

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

Syntax

Public Function DeepEquals( _
    other As XPathAtomicValue, _
    collation As Collation, _
    implicitTimeZone As TimeZone _
) As Boolean
public bool DeepEquals(
    XPathAtomicValue other,
    Collation collation,
    TimeZone implicitTimeZone
)
public:
bool DeepEquals(
    XPathAtomicValue^ other, 
    Collation^ collation, 
    TimeZone implicitTimeZone
)
 

Parameters

other

Type: XmlPrime.XPathAtomicValueXmlPrime.XPathAtomicValueXmlPrime::XPathAtomicValue^

The 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.
NotSupportedExceptionNotSupportedExceptionNotSupportedExceptionThe values cannot be compared.

Remarks

Comparison follows the rules of fn:deep-equal.