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

TaxonomyExtensions.GetTaxonomyItemByPath Method

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

Returns a taxonomy item by it's path, e.g. Group¦Set¦Term

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

Syntax

public static TaxonomyItem GetTaxonomyItemByPath(this Site site, String path, String delimiter = "|")

Parameters

site

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

path

  Type: System.String
  The path of the item to return

(optional) delimiter

  Type: System.String
  The delimeter separating groups, sets and term in the path. Defaults to |

Return Value

Type: TaxonomyItem
Returns TaxonomyItem object

See also

© 2018 Microsoft