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

TaxonomyExtensions.WireUpTaxonomyField Method

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

Wires up MMS field to the specified term.

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

Syntax

public static void WireUpTaxonomyField(this Web web, Field field, Term anchorTerm, Boolean multiValue = False)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

field

  Type: Microsoft.SharePoint.Client.Field
  Field to be wired up

anchorTerm

  Type: Microsoft.SharePoint.Client.Taxonomy.Term
  Taxonomy Term

(optional) multiValue

  Type: System.Boolean
  If true, create a multivalue field

Return Value

Type: void

See also

© 2018 Microsoft