共用方式為


SPUtility.GetCalendarYearMax method

會傳回最大可代表在行事曆的年份。

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

Syntax

'宣告
Public Shared Function GetCalendarYearMax ( _
    iCalType As Integer _
) As Integer
'用途
Dim iCalType As Integer
Dim returnValue As Integer

returnValue = SPUtility.GetCalendarYearMax(iCalType)
public static int GetCalendarYearMax(
    int iCalType
)

參數

傳回值

Type: System.Int32
32 位元整數,代表年份。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace