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 a SqlHierarchyId and an object.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
Public Function CompareTo ( _
obj As Object _
) As Integer
'Usage
Dim instance As SqlHierarchyId
Dim obj As Object
Dim returnValue As Integer
returnValue = instance.CompareTo(obj)
public int CompareTo(
Object obj
)
public:
virtual int CompareTo(
Object^ obj
) sealed
abstract CompareTo :
obj:Object -> int
override CompareTo :
obj:Object -> int
public final function CompareTo(
obj : Object
) : int
Parameter
- obj
Typ: System.Object
An object to be compared 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. |
Implementiert
Hinweise
Throws an exception if obj is not a SqlHierarchyId node.
This member is sealed.