共用方式為


SPIntlCal.IsSupportedLocalYear method

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

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

Syntax

'宣告
Public Shared Function IsSupportedLocalYear ( _
    calType As SPCalendarType, _
    year As Integer _
) As Boolean
'用途
Dim calType As SPCalendarType
Dim year As Integer
Dim returnValue As Boolean

returnValue = SPIntlCal.IsSupportedLocalYear(calType, _
    year)
public static bool IsSupportedLocalYear(
    SPCalendarType calType,
    int year
)

參數

  • year
    Type: System.Int32

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

傳回值

Type: System.Boolean
true如果行事曆類型支援的年份。否則, false。

請參閱

參照

SPIntlCal class

SPIntlCal members

Microsoft.SharePoint.Utilities namespace