TaxonomyField.DefaultValueTyped property

Gets the default TaxonomyFieldValueCollection or the TaxonomyFieldValue object.

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

public override Object DefaultValueTyped { get; }

Property value

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

If the DefaultValue property is a null reference (Nothing in Visual Basic) or an empty string, this property returns a null reference (Nothing in 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.

Show: