Compartir a través de


DropDownMember.Inequality(DropDownMember, DropDownMember) Operator

Definition

Determines if two DropDownMember objects are not equal.

public:
 static bool operator !=(Microsoft::VisualStudio::Package::DropDownMember ^ m1, Microsoft::VisualStudio::Package::DropDownMember ^ m2);
public static bool operator != (Microsoft.VisualStudio.Package.DropDownMember m1, Microsoft.VisualStudio.Package.DropDownMember m2);
static member op_Inequality : Microsoft.VisualStudio.Package.DropDownMember * Microsoft.VisualStudio.Package.DropDownMember -> bool
Public Shared Operator != (m1 As DropDownMember, m2 As DropDownMember) As Boolean

Parameters

m1
DropDownMember

[in] The first DropDownMember object to compare.

m2
DropDownMember

[in] The second DropDownMember object to compare.

Returns

true if the two DropDownMember objects are not equal, otherwise false.

Remarks

This operator method returns the results of !(m1 == m2) (that is, it calls the Equality method and reverses the result).

The equivalent method for this operator is <xref:Microsoft.VisualStudio.Package.DropDownMember.Compare%28Microsoft.VisualStudio.Package.DropDownMember%2CMicrosoft.VisualStudio.Package.DropDownMember%29?displayProperty=fullName>

Applies to