SimpleDate.LessThanOrEqual Operator
Returns a Boolean value indicating whether one SimpleDate value is less than or equal to another.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Operator <= ( _
di0 As SimpleDate, _
di As SimpleDate _
) As Boolean
'Usage
Dim di0 As SimpleDate
Dim di As SimpleDate
Dim returnValue As Boolean
returnValue = (di0 <= di)
public static bool operator <=(
SimpleDate di0,
SimpleDate di
)
Parameters
di0
Type: Microsoft.SharePoint.Utilities.SimpleDateA SimpleDate object to evaluate.
di
Type: Microsoft.SharePoint.Utilities.SimpleDateA SimpleDate object to evaluate.
Return Value
Type: System.Boolean
true if the value of the first SimpleDate is less than or equal to the value of the second; otherwise, false.