Moniker.CompareTo Method
Compares two Monikers based upon their Id
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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.Moniker
Moniker being compared to
Return Value
Type: System.Int32
A 32-bit signed integer that indicates the relative order of the comparands.
Implements
.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.