Equals 메서드
Evaluates whether SqlHierarchyId and obj are equal.
네임스페이스: Microsoft.SqlServer.Types
어셈블리: Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)
구문
‘선언
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
‘사용 방법
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
매개 변수
- obj
유형: System. . :: . .Object
The object against which to compare this.
반환 값
유형: 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 Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) .