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

TaxonomyExtensions.AddTermToTermset Method

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Adds a term to a given termset

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

Syntax

public static Term AddTermToTermset(this Site site, Guid termSetId, String term)

Parameters

site

  Type: Microsoft.SharePoint.Client.Site
  The current site

termSetId

  Type: System.Guid
  The ID of the termset

term

  Type: System.String
  The label of the new term to create

Return Value

Type: Term
Returns Term object

See also

© 2018 Microsoft