Compartilhar via


SPIntlCal.IsSupportedLocalYear Method

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

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

Syntax

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

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

Parameters

  • year
    Type: System.Int32

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

Return Value

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

See Also

Reference

SPIntlCal Class

SPIntlCal Members

Microsoft.SharePoint.Utilities Namespace