Compartir a través de


de la propiedad TaxonomyField.CreateValuesInEditForm

Gets or sets a Boolean value that specifies whether the new Term objects can be added to the TermSet while typing in the TaxonomyField editor control.

Espacio de nombres:  Microsoft.SharePoint.Taxonomy
Ensamblado:  Microsoft.SharePoint.Taxonomy (en Microsoft.SharePoint.Taxonomy.dll)

Sintaxis

'Declaración
Public Property CreateValuesInEditForm As Boolean
    Get
    Set
'Uso
Dim instance As TaxonomyField
Dim value As Boolean

value = instance.CreateValuesInEditForm

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

Valor de propiedad

Tipo: System.Boolean
true if new Term objects can be added to the TermSet while typing in the TaxonomyField editor control; otherwise, false.

Comentarios

If this property is true and the TermSet is open, then typing text in the taxonomy field editor control will display a Create New option in the Suggestions drop-down list if that Term does not already exist at the root level of the TermSet. Selecting the Create New option will create a new Term with that text as the default Label object.

This property does not apply to the the Enterprise Keywords TermSet, since it always allows new Term objects to be added by selecting Create New in the Suggestions drop-down list.

It is not possible to create Term objects that are created by using the Create New at an arbitrary position in the hierarchy of Term objects in the TermSet. All Term objects created with this option are created at the root level of the TermSet.

Vea también

Referencia

clase TaxonomyField

Miembros TaxonomyField

Espacio de nombres Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint