Share via


TermStore.AddLanguage method

Adds a working language to the TermStore object.

Namespace:  Microsoft.SharePoint.Client.Taxonomy
Assembly:  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)

Syntax

'Declaration
Public Sub AddLanguage ( _
    lcid As Integer _
)
'Usage
Dim instance As TermStore
Dim lcid As Integer

instance.AddLanguage(lcid)
public void AddLanguage(
    int lcid
)

Parameters

  • lcid
    Type: System.Int32

    The locale identifier of the working language to add

Exceptions

Exception Condition
UnauthorizedAccessException

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.

See also

Reference

TermStore class

TermStore members

Microsoft.SharePoint.Client.Taxonomy namespace