Share via


SPIntlCal.IsSupportedLocalMonth method

Returns a Boolean value that indicates whether the specified calendar type supports the specified month.

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

Syntax

'Declaration
Public Shared Function IsSupportedLocalMonth ( _
    calType As SPCalendarType, _
    year As Integer, _
    month As Integer _
) As Boolean
'Usage
Dim calType As SPCalendarType
Dim year As Integer
Dim month As Integer
Dim returnValue As Boolean

returnValue = SPIntlCal.IsSupportedLocalMonth(calType, _
    year, month)
public static bool IsSupportedLocalMonth(
    SPCalendarType calType,
    int year,
    int month
)

Parameters

  • year
    Type: System.Int32

    A 32-bit integer that represents a year.

  • month
    Type: System.Int32

    A 32-bit integer that represents the month to evaluate.

Return value

Type: System.Boolean
true if the calendar type supports the month; otherwise, false.

See also

Reference

SPIntlCal class

SPIntlCal members

Microsoft.SharePoint.Utilities namespace