Méthode | Description | |
---|---|---|
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
|
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 |
Résultat | TermCollection |
public static LoadTerms ( this term, ClientContext context ) : TermCollection | ||
term | this | Parent Term |
context | ClientContext | SharePoint Context |
Résultat | TermCollection |
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 |
Résultat | bool |