Compartilhar via


Moniker.Inequality(Moniker, Moniker) Operator

Definition

Compares two Monikers based upon their ID to determine if they are unequal. 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 op_Inequality : 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 the two Monikers are not equal.

Applies to