Compartir a través de


de la propiedad TaxonomyField.DefaultValueTyped

Gets the default TaxonomyFieldValueCollection or the TaxonomyFieldValue object.

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

Sintaxis

'Declaración
Public Overrides ReadOnly Property DefaultValueTyped As Object
    Get
'Uso
Dim instance As TaxonomyField
Dim value As Object

value = instance.DefaultValueTyped
public override Object DefaultValueTyped { get; }

Valor de propiedad

Tipo: System.Object
A TaxonomyFieldValueCollection or TaxonomyFieldValue object that represents the default value object.

Comentarios

If the DefaultValue property is una referencia null (Nothing en Visual Basic) or an empty string, this property returns una referencia null (Nothing en Visual Basic).

Otherwise, if the AllowMultipleValues property is true, this property returns aTaxonomyFieldValueCollection object with the value set to the DefaultValue property.If the AllowMultipleValues property is false, this property returns a TaxonomyFieldValueobject with the value set to the DefaultValue property.

Vea también

Referencia

clase TaxonomyField

Miembros TaxonomyField

Espacio de nombres Microsoft.SharePoint.Taxonomy

TaxonomyFieldValue

TaxonomyFieldValueCollection

Microsoft.SharePoint.Taxonomy

DefaultValueTyped

Microsoft.SharePoint