SPLanguageSettings.GetGlobalInstalledLanguages method
Gets a list of installed languages that are compatible with a given version of SharePoint.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetGlobalInstalledLanguages ( _
compatibilityLevel As Integer _
) As SPLanguageCollection
'Usage
Dim compatibilityLevel As Integer
Dim returnValue As SPLanguageCollection
returnValue = SPLanguageSettings.GetGlobalInstalledLanguages(compatibilityLevel)
public static SPLanguageCollection GetGlobalInstalledLanguages(
int compatibilityLevel
)
Parameters
compatibilityLevel
Type: System.Int32The value of the major SharePoint version to query for installed languages.
Return value
Type: Microsoft.SharePoint.SPLanguageCollection
The collection of installed languages.