SPIntlCal.IsSupportedLocalMonth method
傳回布林值,指出指定的行事曆類型是否支援指定的月份。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function IsSupportedLocalMonth ( _
calType As SPCalendarType, _
year As Integer, _
month As Integer _
) As Boolean
'用途
Dim calType As SPCalendarType
Dim year As Integer
Dim month As Integer
Dim returnValue As Boolean
returnValue = SPIntlCal.IsSupportedLocalMonth(calType, _
year, month)
public static bool IsSupportedLocalMonth(
SPCalendarType calType,
int year,
int month
)
參數
calType
Type: Microsoft.SharePoint.SPCalendarTypeSPCalendarType物件,表示行事曆類型。
year
Type: System.Int3232 位元整數,表示一年。
month
Type: System.Int3232 位元整數,表示要評估的月份。
傳回值
Type: System.Boolean
true如果行事曆類型支援排列這些月份。否則, false。