GraphNodeId.CompareTo Method (Object)

Compares to another GraphNodeId.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Function CompareTo ( _
    obj As Object _
) As Integer
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

Parameters

  • obj
    Type: Object

    The other GraphNodeId to compare with.

Return Value

Type: Int32
An indication of their relative value (0 being equal).

Implements

IComparable.CompareTo(Object)

.NET Framework Security

See Also

Reference

GraphNodeId Class

CompareTo Overload

Microsoft.VisualStudio.GraphModel Namespace