Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates the locale of the current Label object.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Property Language As Integer
Get
Set
'Usage
Dim instance As Label
Dim value As Integer
value = instance.Language
instance.Language = value
public int Language { get; set; }
Property Value
Type: System.Int32
Returns Int32.
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The current user has insufficient permissions to perform this operation. |
TermStoreOperationException | The language of a default Label cannot be changed. |
ArgumentOutOfRangeException | 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.