C# Класс Microsoft.Legal.MatterCenter.Repository.Extensions.TaxonomyExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
GetTermsByPath ( this termSet, String path, ClientContext clientContext ) : TermCollection

This extension method will give all the terms for a give path mentioned

LoadTerms ( this term, ClientContext context ) : TermCollection

This method will load the child terms for a particular parent term with required term properties

TermExists ( this termSet, ClientContext clientContext, string termNameToRetrieve, Term &term ) : bool

This method will check if the term exists and if it exists, it will return the reference to that term

Описание методов

GetTermsByPath() публичный статический Метод

This extension method will give all the terms for a give path mentioned
public static GetTermsByPath ( this termSet, String path, ClientContext clientContext ) : TermCollection
termSet this From which term set, we need to find a given term path
path String The path name to search
clientContext ClientContext The sharepoint client context object
Результат TermCollection

LoadTerms() публичный статический Метод

This method will load the child terms for a particular parent term with required term properties
public static LoadTerms ( this term, ClientContext context ) : TermCollection
term this Parent Term
context ClientContext SharePoint Context
Результат TermCollection

TermExists() публичный статический Метод

This method will check if the term exists and if it exists, it will return the reference to that term
public static TermExists ( this termSet, ClientContext clientContext, string termNameToRetrieve, Term &term ) : bool
termSet this The term set underwhich, the term exists check will happen
clientContext ClientContext The sharepoint client context object
termNameToRetrieve string The term that needs to be retrieved from a given term
term Term The term reference that will be returned back to the caller
Результат bool