共用方式為


SPGlobalAdmin.InstalledLanguages Property

NOTE: This API is now obsolete.

Use the GlobalInstalledLanguages property of the SPRegionalSettings class to get the languages installed in the SharePoint Foundation deployment instead. (In Windows SharePoint Services 2.0, the InstalledLanguages property got the collection of installed languages, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use SPRegionalSettings.GlobalInstalledLanguages instead.",  _
    False)> _
Public ReadOnly Property InstalledLanguages As SPLanguageCollection
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As SPLanguageCollection

value = instance.InstalledLanguages
[ObsoleteAttribute("Use SPRegionalSettings.GlobalInstalledLanguages instead.", 
    false)]
public SPLanguageCollection InstalledLanguages { get; }

Property Value

Type: Microsoft.SharePoint.SPLanguageCollection
An SPLanguageCollection object that represents the languages.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

Microsoft.SharePoint.Administration Namespace