共用方式為


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

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.

See Also

Reference

SimpleDate Structure

SimpleDate Members

Microsoft.SharePoint.Utilities Namespace