Share via


Moniker.CompareTo Method

Compares two Monikers based upon their Id

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

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

Parameters

Return Value

Type: Int32
A 32-bit signed integer that indicates the relative order of the comparands.

Implements

IComparable.CompareTo(UTP)

.NET Framework Security

See Also

Reference

Moniker Class

Microsoft.VisualStudio.Modeling Namespace