ISPCalendar.IsSupportedYear Method

Returns a Boolean value that indicates whether the specified year is supported by the local calendar.

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

Syntax

'Declaration
Function IsSupportedYear ( _
    year As Integer _
) As Boolean
'Usage
Dim instance As ISPCalendar
Dim year As Integer
Dim returnValue As Boolean

returnValue = instance.IsSupportedYear(year)
bool IsSupportedYear(
    int year
)

Parameters

  • year
    Type: System.Int32

    An integer value that represents the year.

Return Value

Type: System.Boolean
true if the year is supported; otherwise, false.

See Also

Reference

ISPCalendar Interface

ISPCalendar Members

Microsoft.SharePoint.Utilities Namespace