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)
Available in Sandboxed Solutions: No

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