GetCalendarYearMax Method
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

SPUtility.GetCalendarYearMax Method

Windows SharePoint Services 3

Returns the maximum year that can be represented in calendars.

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

public static int GetCalendarYearMax(
	int iCalType
)

Parameters

iCalType
Type: System.Int32
A 32-bit integer that represents a Microsoft.SharePoint.SPCalendarType value.

Return Value

Type: System.Int32
A 32-bit integer that represents the year.
Show:
© 2016 Microsoft