Share via


Term.SetLocalCustomProperty method

Sets a new local custom property or updates the value of an existing local property.

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

Syntax

'Declaration
Public Sub SetLocalCustomProperty ( _
    name As String, _
    value As String _
)
'Usage
Dim instance As Term
Dim name As String
Dim value As String

instance.SetLocalCustomProperty(name, _
    value)
public void SetLocalCustomProperty(
    string name,
    string value
)

Parameters

Exceptions

Exception Condition
UnauthorizedAccessException

The user must have the EditTerm permission to edit this term to perform this operation.

Remarks

Add a custom property by using name if no local property exists for the Term object.

See also

Reference

Term class

Term members

Microsoft.SharePoint.Client.Taxonomy namespace