SPUtility.GetCalendarYearMax method

Returns the maximum year that can be represented in calendars.

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

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