Partager via


DropDownMember.LessThan(DropDownMember, DropDownMember) Operator

Definition

Determines whether the first DropDownMember object is less than the second DropDownMember object.

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 first DropDownMember object is less than the second DropDownMember object, otherwise false.

Remarks

This operator method returns the results from m1.CompareTo(m2) < 0.

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