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

TaxonomyExtensions.GetTermSetsByName Method

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

Finds a termset by name

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

Syntax

public static TermSetCollection GetTermSetsByName(this Site site, String name, Int32 lcid = 1033)

Parameters

site

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

name

  Type: System.String
  The name of the termset

(optional) lcid

  Type: System.Int32
  The locale ID for the termset to return, defaults to 1033

Return Value

Type: TermSetCollection
Returns collection of TermSet

See also

© 2018 Microsoft