TaxonomyField.DefaultValueTyped property

Gets the default TaxonomyFieldValueCollection or the TaxonomyFieldValue object.

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

Syntax

'Declaration
Public Overrides ReadOnly Property DefaultValueTyped As Object
    Get
'Usage
Dim instance As TaxonomyField
Dim value As Object

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

Property value

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

Remarks

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.

See also

Reference

TaxonomyField class

TaxonomyField members

Microsoft.SharePoint.Taxonomy namespace

TaxonomyFieldValue

TaxonomyFieldValueCollection

Microsoft.SharePoint.Taxonomy

DefaultValueTyped

Microsoft.SharePoint