Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a value indicating the results of a comparison between two SqlHierarchyId nodes.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
Public Function CompareTo ( _
hid As SqlHierarchyId _
) As Integer
'Usage
Dim instance As SqlHierarchyId
Dim hid As SqlHierarchyId
Dim returnValue As Integer
returnValue = instance.CompareTo(hid)
public int CompareTo(
SqlHierarchyId hid
)
public:
int CompareTo(
SqlHierarchyId hid
)
member CompareTo :
hid:SqlHierarchyId -> int
public function CompareTo(
hid : SqlHierarchyId
) : int
Parameter
- hid
Typ: Microsoft.SqlServer.Types.SqlHierarchyId
A SqlHierarchyId node to compare to this.
Rückgabewert
Typ: System.Int32
A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings:
Value |
Meaning |
|---|---|
Less than zero |
this is less than obj. |
Zero |
this is equal to obj. |
Greater than zero |
this is greater than obj. |
Hinweise
If both SqlHierarchyId nodes are nullein NULL-Verweis (Nothing in Visual Basic), returns 0.
If one SqlHierarchyId node is nullein NULL-Verweis (Nothing in Visual Basic), it is considered to be less than the non-nullein NULL-Verweis (Nothing in Visual Basic) SqlHierarchyId node.