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

Syntax

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

value = instance.IsKeyword
public bool IsKeyword { get; internal 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.Taxonomy namespace

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint