Share via


TaxonomyFieldControl.Value Property

Gets or sets the value of the current TaxonomyFieldControl object.

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

Syntax

'Declaration
Public Overrides Property Value As Object
    Get
    Set
'Usage
Dim instance As TaxonomyFieldControl
Dim value As Object

value = instance.Value

instance.Value = value
public override Object Value { get; set; }

Property Value

Type: System.Object
Value of TaxonomyFieldControl object

Exceptions

Exception Condition
MissingMemberException

The field that this control is bound to is not a TaxonomyField object.

ArgumentException

The current control is bound to a multivalue TaxonomyField, it uses a TaxonomyFieldValue object, or the control is bound to a single value TaxonomyField and uses a TaxonomyFieldValueCollection object.

See Also

Reference

TaxonomyFieldControl Class

TaxonomyFieldControl Members

Microsoft.SharePoint.Taxonomy Namespace

TaxonomyFieldValue

TaxonomyFieldValueCollection