Label.SetAsDefaultForLanguage method

Sets the current Label object as the default label for its language.

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

Syntax

'Declaration
Public Sub SetAsDefaultForLanguage
'Usage
Dim instance As Label

instance.SetAsDefaultForLanguage()
public void SetAsDefaultForLanguage()

Exceptions

Exception Condition
UnauthorizedAccessException

The current user has insufficient permissions to perform this operation.

Remarks

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

See also

Reference

Label class

Label members

Microsoft.SharePoint.Client.Taxonomy namespace