共用方式為


ISPCalendar.IsSupportedMonth method

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

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

Syntax

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

returnValue = instance.IsSupportedMonth(year, _
    month)
bool IsSupportedMonth(
    int year,
    int month
)

參數

  • year
    Type: System.Int32

    整數值,表示指定的月份中的年份。

  • month
    Type: System.Int32

    整數值,表示要評估的月份。

傳回值

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

請參閱

參照

ISPCalendar interface

ISPCalendar members

Microsoft.SharePoint.Utilities namespace