Interface ITermStore
Assembly: PnP.Core.dll
Syntax
public interface ITermStore : IDataModel<ITermStore>, IDataModelParent, IDataModelWithContext, ISupportModules<ITermStore>, IDataModelGet<ITermStore>, IDataModelLoad<ITermStore>, IDataModelUpdate
Properties
Default language of the termstore.
Declaration
string DefaultLanguage { get; set; }
Property Value
Declaration
ITermGroupCollection Groups { get; }
Property Value
The Unique ID of the Term Store
Declaration
Property Value
List of languages for the term store.
Declaration
List<string> Languages { get; }
Property Value
PnP.Core.Model.SharePoint.List<System.String>
|
Methods
Gets a term from this termstore via it's id and it's termset id
Declaration
ITerm GetTermById(string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
System.String
termSetId
Termset id of the termset containing the term
|
System.String
termId
Term id of the term to retrieve
|
Expression<Func<ITerm, System.Object>>[]
selectors
Properties to load for the term
|
Returns
Gets a term from this termstore via it's id and it's termset id
Declaration
Task<ITerm> GetTermByIdAsync(string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
System.String
termSetId
Termset id of the termset containing the term
|
System.String
termId
Term id of the term to retrieve
|
Expression<Func<ITerm, System.Object>>[]
selectors
Properties to load for the term
|
Returns
Task<ITerm>
The loaded term
|
Gets a term from this termstore via it's id and it's termset id
Declaration
ITerm GetTermByIdBatch(Batch batch, string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
Batch
batch
Batch to add this reques to
|
System.String
termSetId
Termset id of the termset containing the term
|
System.String
termId
Term id of the term to retrieve
|
Expression<Func<ITerm, System.Object>>[]
selectors
Properties to load for the term
|
Returns
Gets a term from this termstore via it's id and it's termset id
Declaration
ITerm GetTermByIdBatch(string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
System.String
termSetId
Termset id of the termset containing the term
|
System.String
termId
Term id of the term to retrieve
|
Expression<Func<ITerm, System.Object>>[]
selectors
Properties to load for the term
|
Returns
Gets a term from this termstore via it's id and it's termset id
Declaration
Task<ITerm> GetTermByIdBatchAsync(Batch batch, string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
Batch
batch
Batch to add this reques to
|
System.String
termSetId
Termset id of the termset containing the term
|
System.String
termId
Term id of the term to retrieve
|
Expression<Func<ITerm, System.Object>>[]
selectors
Properties to load for the term
|
Returns
Task<ITerm>
The loaded term
|
Gets a term from this termstore via it's id and it's termset id
Declaration
Task<ITerm> GetTermByIdBatchAsync(string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
System.String
termSetId
Termset id of the termset containing the term
|
System.String
termId
Term id of the term to retrieve
|
Expression<Func<ITerm, System.Object>>[]
selectors
Properties to load for the term
|
Returns
Task<ITerm>
The loaded term
|
Gets a termset from this termstore via it's id
Declaration
ITermSet GetTermSetById(string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
System.String
id
Termset id to retrieve
|
Expression<Func<ITermSet, System.Object>>[]
selectors
Properties to load for the termset
|
Returns
Gets a termset from this termstore via it's id
Declaration
Task<ITermSet> GetTermSetByIdAsync(string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
System.String
id
Termset id to retrieve
|
Expression<Func<ITermSet, System.Object>>[]
selectors
Properties to load for the termset
|
Returns
Gets a termset from this termstore via it's id
Declaration
ITermSet GetTermSetByIdBatch(Batch batch, string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
Batch
batch
Batch to add this reques to
|
System.String
id
Termset id to retrieve
|
Expression<Func<ITermSet, System.Object>>[]
selectors
Properties to load for the termset
|
Returns
Gets a termset from this termstore via it's id
Declaration
ITermSet GetTermSetByIdBatch(string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
System.String
id
Termset id to retrieve
|
Expression<Func<ITermSet, System.Object>>[]
selectors
Properties to load for the termset
|
Returns
Gets a termset from this termstore via it's id
Declaration
Task<ITermSet> GetTermSetByIdBatchAsync(Batch batch, string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
Batch
batch
Batch to add this reques to
|
System.String
id
Termset id to retrieve
|
Expression<Func<ITermSet, System.Object>>[]
selectors
Properties to load for the termset
|
Returns
Gets a termset from this termstore via it's id
Declaration
Task<ITermSet> GetTermSetByIdBatchAsync(string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
System.String
id
Termset id to retrieve
|
Expression<Func<ITermSet, System.Object>>[]
selectors
Properties to load for the termset
|
Returns
Extension Methods