共用方式為


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
)

參數

  • month
    Type: System.Int32

    32 位元整數,表示要評估的月份。

傳回值

Type: System.Boolean
true如果行事曆類型支援排列這些月份。否則, false。

請參閱

參照

SPIntlCal class

SPIntlCal members

Microsoft.SharePoint.Utilities namespace