다음을 통해 공유


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