SqlHierarchyId.Equals Method
Evaluates whether SqlHierarchyId and obj are equal.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As SqlHierarchyId
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
public:
virtual bool Equals(
Object^ obj
) override
abstract Equals :
obj:Object -> bool
override Equals :
obj:Object -> bool
public override function Equals(
obj : Object
) : boolean
Parameters
- 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).
Remarks
Returns false (0) if obj is not a SqlHierarchyId node.
Returns true (1) if both this and obj are nulla null reference (Nothing in Visual Basic).