TermSet.Description property
Gets and sets the description for the current TermSet object.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Property Description As String
Get
Set
'Usage
Dim instance As TermSet
Dim value As String
value = instance.Description
instance.Description = value
public string Description { get; set; }
Property value
Type: System.String
Returns String.
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The current user has insufficient permissions to perform this operation. |
ArgumentException | The input description value is too long or contains invalid characters. |
TermStoreOperationException | This operation is invalid in the Orphaned terms TermSet. The operation failed. |
Remarks
The description can be a null reference (Nothing in Visual Basic) or empty. The description cannot exceed 1000 characters, and it cannot contain any tab characters. The current user must have TaxonomyRights.Edit permission to use this method. Call the CommitAll() method to save this change to the database.