返回可以在日历中表示的最大年份。
命名空间: Microsoft.SharePoint.Utilities
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.Int3232 位整数,表示Microsoft.SharePoint.SPCalendarType值。
返回值
类型:System.Int32
32 位整数,表示的年份。