共用方式為


DropDownMember.LessThan Operator

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣告
Public Shared Operator < ( _
    m1 As DropDownMember, _
    m2 As DropDownMember _
) As Boolean
'用途
Dim m1 As DropDownMember
Dim m2 As DropDownMember
Dim returnValue As Boolean

returnValue = (m1 < m2)
public static bool operator <(
    DropDownMember m1,
    DropDownMember m2
)
public:
static bool operator <(
    DropDownMember^ m1, 
    DropDownMember^ m2
)
static let inline (<)
        m1:DropDownMember * 
        m2:DropDownMember  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
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.

.NET Framework Security

See Also

Reference

DropDownMember Class

DropDownMember Members

Microsoft.VisualStudio.Package Namespace