Moniker.GreaterThan Operator
Compares two Monikers based upon their ID to determine if moniker1's ID is greater than moniker2. Overriding operator > to satisfy CA1036:OverrideMethodsOnComparableTypes
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Public Shared Operator > ( _
moniker1 As Moniker, _
moniker2 As Moniker _
) As Boolean
public static bool operator >(
Moniker moniker1,
Moniker moniker2
)
public:
static bool operator >(
Moniker^ moniker1,
Moniker^ moniker2
)
static let inline (>)
moniker1:Moniker *
moniker2:Moniker : bool
JScript does not support overloaded operators.
Parameters
- moniker1
Type: Microsoft.VisualStudio.Modeling.Moniker
Moniker being compared to
- moniker2
Type: Microsoft.VisualStudio.Modeling.Moniker
Moniker being compared against
Return Value
Type: System.Boolean
Boolean that indicates if moniker1 is greater than moniker2.
.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.