Table of contents
TOC
Collapse the table of content
Expand the table of content

TaxonomyExtensions.SetTaxonomyFieldValue Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Sets a value of a taxonomy field

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void SetTaxonomyFieldValue(this ListItem item, Guid fieldId, String label, Guid termGuid)

Parameters

item

  Type: Microsoft.SharePoint.Client.ListItem
  The item to process

fieldId

  Type: System.Guid
  The ID of the field to set

label

  Type: System.String
  The label of the term to set

termGuid

  Type: System.Guid
  The id of the term to set

Return Value

Type: void

See also

© 2018 Microsoft