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
)
參數
iCalType
Type: System.Int3232 位元整數,代表Microsoft.SharePoint.SPCalendarType值。
傳回值
Type: System.Int32
32 位元整數,代表年份。