Condividi tramite


MonikerKey.GreaterThan Operator

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Shared Operator > ( _
    monikerKey1 As MonikerKey, _
    monikerKey2 As MonikerKey _
) As Boolean
public static bool operator >(
    MonikerKey monikerKey1,
    MonikerKey monikerKey2
)
public:
static bool operator >(
    MonikerKey^ monikerKey1, 
    MonikerKey^ monikerKey2
)
static let inline(>)
        monikerKey1:MonikerKey * 
        monikerKey2:MonikerKey  : bool
JScript does not support overloaded operators.

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

MonikerKey Class

Microsoft.VisualStudio.Modeling Namespace