SPRegionalSettings.GetDefaultCalendarType method

Returns the default calendar type for the specified locale ID.

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

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