XPathAtomicValue.DeepEquals Method (XPathAtomicValue)XPathAtomicValue.DeepEquals Method (XPathAtomicValue)XPathAtomicValue::DeepEquals Method (XPathAtomicValue^)
Tests if this XPathAtomicValueXPathAtomicValueXPathAtomicValue is deep-equal to the specified XPathAtomicValueXPathAtomicValueXPathAtomicValue under the codepoint collation and the current time zone.
Syntax
Public Function DeepEquals( _ other As XPathAtomicValue _ ) As Boolean
public bool DeepEquals( XPathAtomicValue other )
public: bool DeepEquals( XPathAtomicValue^ other )
Parameters
- other
Type: XmlPrime.XPathAtomicValueXmlPrime.XPathAtomicValueXmlPrime::XPathAtomicValue^
The value to compare.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if this value is equal to other; false
False
false
otherwise.
Exceptions
Exception | Condition |
InvalidCastExceptionInvalidCastExceptionInvalidCastException | |
NotSupportedExceptionNotSupportedExceptionNotSupportedException | The values cannot be compared. |
Remarks
Comparison follows the rules of fn:deep-equal
.
This method is equivalent to calling passing CodepointCollationCodepointCollationCodepointCollation and CurrentTimeZoneCurrentTimeZoneCurrentTimeZone as arguments to DeepEquals (XPathAtomicValue, Collation, TimeZone)DeepEquals (XPathAtomicValue, Collation, TimeZone)DeepEquals (XPathAtomicValue^, Collation^, TimeZone).