Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.Int32The value of the major SharePoint version to query for installed languages.
Return value
Type: Microsoft.SharePoint.SPLanguageCollection