共用方式為


SPRegionalSettings.GetDefaultCalendarType method

會傳回預設行事曆類型為指定的地區設定識別碼。

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

Syntax

'宣告
Public Function GetDefaultCalendarType ( _
    localeId As Integer _
) As Integer
'用途
Dim instance As SPRegionalSettings
Dim localeId As Integer
Dim returnValue As Integer

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

參數

  • localeId
    Type: System.Int32

    32 位元整數,指定地區設定識別碼。

傳回值

Type: System.Int32
32 位元整數,指出預設行事曆類型為指定的地區設定識別碼。

請參閱

參照

SPRegionalSettings class

SPRegionalSettings members

Microsoft.SharePoint namespace