XPathAtomicValue.Equals Method (object)XPathAtomicValue.Equals Method (Object)XPathAtomicValue::Equals Method (object^)

Determines whether the specified objectObjectobject is equal to the current objectObjectobject.

Syntax

Public NotOverridable Overrides Function Equals( _
    obj As Object _
) As Boolean
public sealed override bool Equals(
    object obj
)
public:
virtual bool Equals(
    object^ obj
) sealed override
 

Parameters

obj

Type: System.ObjectSystem.ObjectSystem::Object^

The objectObjectobject to compare with the current objectObjectobject.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

true if the specified objectObjectobject is equal to the current objectObjectobject; otherwise, false.

Exceptions

ExceptionCondition
NullReferenceExceptionNullReferenceExceptionNullReferenceException The obj parameter is null.