XPathAtomicValue.ValueEquals Method (XPathAtomicValue)XPathAtomicValue.ValueEquals Method (XPathAtomicValue)XPathAtomicValue::ValueEquals Method (XPathAtomicValue^)

Tests if this XPathAtomicValueXPathAtomicValueXPathAtomicValue is equal to the specified XPathAtomicValueXPathAtomicValueXPathAtomicValue under the codepoint collation and the current time zone.

Syntax

Public Function ValueEquals( _
    other As XPathAtomicValue _
) As Boolean
public bool ValueEquals(
    XPathAtomicValue other
)
public:
bool ValueEquals(
    XPathAtomicValue^ other
)
 

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

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

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException other is null a null reference (Nothing in Visual Basic) nullptr.
InvalidCastExceptionInvalidCastExceptionInvalidCastException
NotSupportedExceptionNotSupportedExceptionNotSupportedExceptionThe values cannot be compared.