Condividi tramite


DropDownMember.Equality(DropDownMember, DropDownMember) Operator

Definition

Determines if two DropDownMember objects are 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 ( = ) : 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 equal, otherwise false.

Remarks

This operator method returns the result from m1.Equals(m2).

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

Applies to