다음을 통해 공유


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