SPCalendarItem.LessThan Operator

Determines whether the first calendar item is less than the second calendar item.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Operator < ( _
    obj1 As SPCalendarItem, _
    obj2 As SPCalendarItem _
) As Boolean
'Usage
Dim obj1 As SPCalendarItem
Dim obj2 As SPCalendarItem
Dim returnValue As Boolean

returnValue = (obj1 < obj2)
public static bool operator <(
    SPCalendarItem obj1,
    SPCalendarItem obj2
)

Parameters

Return Value

Type: System.Boolean
Returns true if obj1 is less than obj2; otherwise, false.

See Also

Reference

SPCalendarItem Class

SPCalendarItem Members

Microsoft.SharePoint.WebControls Namespace