TermSet.SetCustomProperty method

Adds a new custom property with the name if no property exists or updates the value of an existing property.

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

Syntax

'Declaration
Public Overrides Sub SetCustomProperty ( _
    name As String, _
    value As String _
)
'Usage
Dim instance As TermSet
Dim name As String
Dim value As String

instance.SetCustomProperty(name, value)
public override void SetCustomProperty(
    string name,
    string value
)

Parameters

Exceptions

Exception Condition
UnauthorizedAccessException

The current user has insufficient permissions to perform this operation. The current user needs to have the EditTermSet permission.

See also

Reference

TermSet class

TermSet members

Microsoft.SharePoint.Taxonomy namespace