SPRegionalSettings.GetDefaultCalendarType Method

Returns the default calendar type for the specified locale ID.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Function GetDefaultCalendarType ( _
    localeId As Integer _
) As Integer
'Usage
Dim instance As SPRegionalSettings
Dim localeId As Integer
Dim returnValue As Integer

returnValue = instance.GetDefaultCalendarType(localeId)
public int GetDefaultCalendarType(
    int localeId
)

Parameters

  • localeId
    Type: System.Int32

    A 32-bit integer that specifies the locale ID.

Return Value

Type: System.Int32
A 32-bit integer that indicates the default calendar type for the specified locale ID.

See Also

Reference

SPRegionalSettings Class

SPRegionalSettings Members

Microsoft.SharePoint Namespace