다음을 통해 공유


SPUtility.GetCalendarYearMax Method

Returns the maximum year that can be represented in calendars.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Shared Function GetCalendarYearMax ( _
    iCalType As Integer _
) As Integer
'Usage
Dim iCalType As Integer
Dim returnValue As Integer

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

Parameters

Return Value

Type: System.Int32
A 32-bit integer that represents the year.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace