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
obj1
Type: Microsoft.SharePoint.WebControls.SPCalendarItemFirst object
obj2
Type: Microsoft.SharePoint.WebControls.SPCalendarItemSecond object
Return Value
Type: System.Boolean
Returns true if obj1 is less than obj2; otherwise, false.