다음을 통해 공유


Label.Value Property

Gets the value of the current Label object.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.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.Taxonomy Namespace