TermStore.AddLanguage(Int32) Method

Definition

Adds a working language to the TermStore object.

public:
 void AddLanguage(int lcid);
[Microsoft.SharePoint.Client.ClientCallable(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful)]
public void AddLanguage (int lcid);
member this.AddLanguage : int -> unit
Public Sub AddLanguage (lcid As Integer)

Parameters

lcid
Int32

The locale identifier of the working language to add

Attributes
ClientCallableAttribute

Exceptions

The current user has insufficient permissions to perform this operation.

Remarks

Adding additional working languages enables Label objects to be added to Term objects in multiple languages, enables the addition of multiple languages for TermSet names, and so on. The current user must have TaxonomyRights.ManageTermStore permission to use this method. Call the CommitAll() method to save this change to the database.

Applies to