MonikerKey.Inequality Operator
Compares two MonikerKeys based upon their ID to determine if they are unequal. 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 <> ( _
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
- monikerKey1
Type: Microsoft.VisualStudio.Modeling.MonikerKey
MonikerKey being compared to
- monikerKey2
Type: Microsoft.VisualStudio.Modeling.MonikerKey
MonikerKey being compared against
Return Value
Type: System.Boolean
Boolean that indicates if the two MonikerKeys are not equal.
.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.