XName.Equals(Object) Method

Definition

Determines whether the specified XName is equal to this XName.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The XName to compare to the current XName.

Returns

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

Remarks

For two XName objects to be equal, they must have the same expanded name.

Applies to

See also