SqlHierarchyId.Equals Method (Object)


Evaluates whether SqlHierarchyId and obj are equal.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

public override bool Equals(
	object obj


Type: System.Object

The object against which to compare this.

Return Value

Type: System.Boolean

Boolean. true (1) if this and obj are equal; otherwise, false (0).

Returns false (0) if obj is not a SqlHierarchyId node.

Returns true (1) if both this and obj are null.

Return to top