Label.Value property

Gets the value of the current Label object.

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

Syntax

'Declaration
Public Property Value As String
    Get
    Set
'Usage
Dim instance As Label
Dim value As String

value = instance.Value

instance.Value = value
public string Value { 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 value is not valid for a Term Label. The Label can not have more than 255 characters, and cannot contain any invalid characters including: semicolon, double quote, left angle bracket, right angle bracket, ampersand, pipe, and tab.

Remarks

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

See also

Reference

Label class

Label members

Microsoft.SharePoint.Client.Taxonomy namespace