Equals-Methode
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
Parameter
- obj
Typ: System. . :: . .Object
The object against which to compare this.
Rückgabewert
Typ: System. . :: . .Boolean
Boolean . true (1) if this and obj are equal; otherwise, false (0).
Hinweise
Returns false (0) if obj is not a SqlHierarchyId node.
Returns true (1) if both this and obj are null Nothing nullptr unit ein NULL-Verweis (Nothing in Visual Basic) .