Класс Language
Represents a natural language used within the context of Microsoft SharePoint Foundation.
Иерархия наследования
System.Object
Microsoft.SharePoint.Client.ClientValueObject
Microsoft.SharePoint.Client.Language
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Class Language _
Inherits ClientValueObject
'Применение
Dim instance As Language
public class Language : ClientValueObject
Замечания
Use the GlobalServerLanguage or ServerLanguage property of the SPRegionalSettings class to return a single SPLanguage object. Otherwise, use the GlobalInstalledLanguages or InstalledLanguages property of the SPRegionalSettings class to return the collection of languages in a deployment of SharePoint Foundation.
Use an indexer to return a single language from the collection. For example, if the collection is assigned to a variable named myLanguages, use myLanguages[index] in C#, or myLanguages(index) in Visual Basic, where index is the index number of the language in the collection.
Use the Language property of the SPWeb class to return the locale identifier (LCID) of a language.
Потокобезопасность
Любые общедоступные элементы static (Shared в Visual Basic) этого типа являются потокобезопасными. Не гарантируется, что любые элементы экземпляров потокобезопасны.