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
other
Type: Microsoft.VisualStudio.Modeling.MonikerMoniker being compared to
Return Value
Type: Int32
A 32-bit signed integer that indicates the relative order of the comparands.
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.