Share via


ISPCalendar.IsSupportedMonth method

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

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

Syntax

'Declaration
Function IsSupportedMonth ( _
    year As Integer, _
    month As Integer _
) As Boolean
'Usage
Dim instance As ISPCalendar
Dim year As Integer
Dim month As Integer
Dim returnValue As Boolean

returnValue = instance.IsSupportedMonth(year, _
    month)
bool IsSupportedMonth(
    int year,
    int month
)

Parameters

  • year
    Type: System.Int32

    An integer value that represents the year of the specified month.

  • month
    Type: System.Int32

    An integer value that represents the month to evaluate.

Return value

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

See also

Reference

ISPCalendar interface

ISPCalendar members

Microsoft.SharePoint.Utilities namespace