Partager via


Moniker.GreaterThan(Moniker, Moniker) Operator

Definition

Compares two Monikers based upon their ID to determine if moniker1's ID is greater than moniker2. Overriding operator > to satisfy CA1036:OverrideMethodsOnComparableTypes

public:
 static bool operator >(Microsoft::VisualStudio::Modeling::Moniker ^ moniker1, Microsoft::VisualStudio::Modeling::Moniker ^ moniker2);
public static bool operator > (Microsoft.VisualStudio.Modeling.Moniker moniker1, Microsoft.VisualStudio.Modeling.Moniker moniker2);
static member ( > ) : Microsoft.VisualStudio.Modeling.Moniker * Microsoft.VisualStudio.Modeling.Moniker -> bool
Public Shared Operator > (moniker1 As Moniker, moniker2 As Moniker) As Boolean

Parameters

moniker1
Moniker

Moniker being compared to

moniker2
Moniker

Moniker being compared against

Returns

Boolean that indicates if moniker1 is greater than moniker2.

Applies to