Share via


TaxonomyField.SetFieldValueByValue method

Sets the value of the corresponding field in the list item to the value of the specified TaxonomyFieldValue object.

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

Syntax

'Declaration
Public Sub SetFieldValueByValue ( _
    item As ListItem, _
    taxValue As TaxonomyFieldValue _
)
'Usage
Dim instance As TaxonomyField
Dim item As ListItem
Dim taxValue As TaxonomyFieldValue

instance.SetFieldValueByValue(item, taxValue)
public void SetFieldValueByValue(
    ListItem item,
    TaxonomyFieldValue taxValue
)

Parameters

See also

Reference

TaxonomyField class

TaxonomyField members

Microsoft.SharePoint.Client.Taxonomy namespace

GetFieldValue

TaxonomyFieldValue

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint