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
)
參數
calType
Type: Microsoft.SharePoint.SPCalendarTypeSPCalendarType物件,表示行事曆類型。
di
Type: Microsoft.SharePoint.Utilities.SimpleDate評估SimpleDate 。
傳回值
Type: System.Boolean
true如果日期受支援。否則, false。