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
other
Type: Microsoft.VisualStudio.GraphModel.GraphNodeIdNameThe name to compare with
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.