C# 클래스 Microsoft.Legal.MatterCenter.Repository.Extensions.TaxonomyExtensions

파일 보기 프로젝트 열기: Microsoft/mattercenter

공개 메소드들

메소드 설명
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