Delen via


GraphNodeIdName.CompareTo Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.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<T>.CompareTo(T)

.NET Framework Security

See Also

Reference

GraphNodeIdName Class

Microsoft.VisualStudio.GraphModel Namespace