次の方法で共有


SPLanguageSettings.GetGlobalLanguages method

Gets global languages based on compatibility level. Compatibility Level is the major SharePoint version to query for installed languages. The valid version is determined by IsValidCompatibilityLevel.

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

Syntax

'Declaration
Public Shared Function GetGlobalLanguages ( _
    compatibilityLevel As Integer _
) As SPLanguageCollection
'Usage
Dim compatibilityLevel As Integer
Dim returnValue As SPLanguageCollection

returnValue = SPLanguageSettings.GetGlobalLanguages(compatibilityLevel)
public static SPLanguageCollection GetGlobalLanguages(
    int compatibilityLevel
)

Parameters

  • compatibilityLevel
    Type: System.Int32

    The value of the major SharePoint version to query for installed languages.

Return value

Type: Microsoft.SharePoint.SPLanguageCollection

See also

Reference

SPLanguageSettings class

SPLanguageSettings members

Microsoft.SharePoint namespace