Share via


MonikerKey.GreaterThan(MonikerKey, MonikerKey) Operator

Definition

Compares two MonikerKeys based upon their ID to determine if monikerKey1's ID is greater than monikerKey2. Overriding operator > to satisfy CA1036:OverrideMethodsOnComparableTypes

public:
 static bool operator >(Microsoft::VisualStudio::Modeling::MonikerKey ^ monikerKey1, Microsoft::VisualStudio::Modeling::MonikerKey ^ monikerKey2);
public static bool operator > (Microsoft.VisualStudio.Modeling.MonikerKey monikerKey1, Microsoft.VisualStudio.Modeling.MonikerKey monikerKey2);
static member ( > ) : Microsoft.VisualStudio.Modeling.MonikerKey * Microsoft.VisualStudio.Modeling.MonikerKey -> bool
Public Shared Operator > (monikerKey1 As MonikerKey, monikerKey2 As MonikerKey) As Boolean

Parameters

monikerKey1
MonikerKey

MonikerKey being compared to

monikerKey2
MonikerKey

MonikerKey being compared against

Returns

Boolean that indicates if the two monikerKey1 is greater than monikerKey2.

Applies to