TaxonomyField.IsKeyword property

Gets or sets a Boolean value that indicates whether the TaxonomyField value points to the Enterprise Keywords TermSet object.

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

Syntax

'Declaration
Public Property IsKeyword As Boolean
    Get
    Set
'Usage
Dim instance As TaxonomyField
Dim value As Boolean

value = instance.IsKeyword

instance.IsKeyword = value
public bool IsKeyword { get; set; }

Property value

Type: System.Boolean
true if the TaxonomyField object points to the Enterprise Keywords TermSet; otherwise, false

Remarks

The Enterprise Keywords TermSet is always open and cannot contain hierarchical taxonomies. A TaxonomyField object that points to the Enterprise Keywords TermSet allows multiple values by default.

When editing a TaxonomyField object with this property set to true, new Term objects can be added to the Enterprise Keywords TermSet by selecting Create New in the Suggestions drop-down window in the TaxonomyField editor control.

Since the TermSet doesn't support hierarchical taxonomies, the Term Picker dialog box cannot be launched to pick Term objects for a TaxonomyField that has this property set to true.

See also

Reference

TaxonomyField class

TaxonomyField members

Microsoft.SharePoint.Client.Taxonomy namespace

Microsoft.SharePoint.Client.Taxonomy

Microsoft.SharePoint