GraphNodeIdName.CompareTo Method

Compares this GraphNodeIdName against another (ordinal compare)

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

Syntax

'Declaration
Public Function CompareTo ( _
    other As GraphNodeIdName _
) As Integer
public int CompareTo(
    GraphNodeIdName other
)
public:
virtual int CompareTo(
    GraphNodeIdName^ other
) sealed
abstract CompareTo : 
        other:GraphNodeIdName -> int  
override CompareTo : 
        other:GraphNodeIdName -> int
public final function CompareTo(
    other : GraphNodeIdName
) : int

Parameters

Return Value

Type: Int32
0 if identical, less than 0 if this name comes before the given name greater than 0 if this cname comes after the given name

Implements

IComparable.CompareTo(UTP)

.NET Framework Security

See Also

Reference

GraphNodeIdName Class

Microsoft.VisualStudio.GraphModel Namespace