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