共用方式為


SPIntlCal.IsLocalDateValid method (SPCalendarType, SimpleDate)

傳回布林值,指出指定的行事曆類型是否支援指定的日期。

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Function IsLocalDateValid ( _
    calType As SPCalendarType, _
    ByRef di As SimpleDate _
) As Boolean
'用途
Dim calType As SPCalendarType
Dim di As SimpleDate
Dim returnValue As Boolean

returnValue = SPIntlCal.IsLocalDateValid(calType, _
    di)
public static bool IsLocalDateValid(
    SPCalendarType calType,
    ref SimpleDate di
)

參數

傳回值

Type: System.Boolean
true如果日期受支援。否則, false。

請參閱

參照

SPIntlCal class

SPIntlCal members

IsLocalDateValid overload

Microsoft.SharePoint.Utilities namespace