共用方式為


ISPCalendar.IsSupportedYear method

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

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

Syntax

'宣告
Function IsSupportedYear ( _
    year As Integer _
) As Boolean
'用途
Dim instance As ISPCalendar
Dim year As Integer
Dim returnValue As Boolean

returnValue = instance.IsSupportedYear(year)
bool IsSupportedYear(
    int year
)

參數

傳回值

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

請參閱

參照

ISPCalendar interface

ISPCalendar members

Microsoft.SharePoint.Utilities namespace