Label.Language Property

Definition

Indicates the locale of the current Label object.

public:
 property int Language { int get(); void set(int value); };
[Microsoft.SharePoint.Client.ClientCallable(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful)]
public int Language { get; set; }
member this.Language : int with get, set
Public Property Language As Integer

Property Value

Int32

Returns Int32.

Attributes
ClientCallableAttribute

Exceptions

The current user has insufficient permissions to perform this operation.

The language of a default Label cannot be changed.

The language is not a valid language or is not one of the working languages for the current term store.

Remarks

The current user must have TaxonomyRights.EditTerm permission in order to set this property. Call the CommitAll() method to save this change to the database.

Applies to