Interface ITermStore
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Microsoft 365 Term store
public interface ITermStore : IDataModel<ITermStore>, IDataModelParent, IDataModelWithContext, ISupportModules<ITermStore>, IDataModelGet<ITermStore>, IDataModelLoad<ITermStore>, IDataModelUpdate
- Inherited Members
- Extension Methods
Properties
DefaultLanguage
Default language of the termstore.
string DefaultLanguage { get; set; }
Property Value
Groups
Collection of term groups in this term store
Implements IQueryable<T>.
See Requesting model collections
and IQueryable performance considerations to learn more.
ITermGroupCollection Groups { get; }
Property Value
Id
The Unique ID of the Term Store
string Id { get; }
Property Value
Languages
List of languages for the term store.
List<string> Languages { get; }
Property Value
Methods
GetTermById(string, string, params Expression<Func<ITerm, object>>[])
Gets a term from this termstore via it's id and it's termset id
ITerm GetTermById(string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
termSetIdstringTermset id of the termset containing the term
termIdstringTerm id of the term to retrieve
selectorsExpression<Func<ITerm, object>>[]Properties to load for the term
Returns
- ITerm
The loaded term
GetTermByIdAsync(string, string, params Expression<Func<ITerm, object>>[])
Gets a term from this termstore via it's id and it's termset id
Task<ITerm> GetTermByIdAsync(string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
termSetIdstringTermset id of the termset containing the term
termIdstringTerm id of the term to retrieve
selectorsExpression<Func<ITerm, object>>[]Properties to load for the term
Returns
GetTermByIdBatch(Batch, string, string, params Expression<Func<ITerm, object>>[])
Gets a term from this termstore via it's id and it's termset id
ITerm GetTermByIdBatch(Batch batch, string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
batchBatchBatch to add this reques to
termSetIdstringTermset id of the termset containing the term
termIdstringTerm id of the term to retrieve
selectorsExpression<Func<ITerm, object>>[]Properties to load for the term
Returns
- ITerm
The loaded term
GetTermByIdBatch(string, string, params Expression<Func<ITerm, object>>[])
Gets a term from this termstore via it's id and it's termset id
ITerm GetTermByIdBatch(string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
termSetIdstringTermset id of the termset containing the term
termIdstringTerm id of the term to retrieve
selectorsExpression<Func<ITerm, object>>[]Properties to load for the term
Returns
- ITerm
The loaded term
GetTermByIdBatchAsync(Batch, string, string, params Expression<Func<ITerm, object>>[])
Gets a term from this termstore via it's id and it's termset id
Task<ITerm> GetTermByIdBatchAsync(Batch batch, string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
batchBatchBatch to add this reques to
termSetIdstringTermset id of the termset containing the term
termIdstringTerm id of the term to retrieve
selectorsExpression<Func<ITerm, object>>[]Properties to load for the term
Returns
GetTermByIdBatchAsync(string, string, params Expression<Func<ITerm, object>>[])
Gets a term from this termstore via it's id and it's termset id
Task<ITerm> GetTermByIdBatchAsync(string termSetId, string termId, params Expression<Func<ITerm, object>>[] selectors)
Parameters
termSetIdstringTermset id of the termset containing the term
termIdstringTerm id of the term to retrieve
selectorsExpression<Func<ITerm, object>>[]Properties to load for the term
Returns
GetTermSetById(string, params Expression<Func<ITermSet, object>>[])
Gets a termset from this termstore via it's id
ITermSet GetTermSetById(string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
idstringTermset id to retrieve
selectorsExpression<Func<ITermSet, object>>[]Properties to load for the termset
Returns
- ITermSet
The loaded termset
GetTermSetByIdAsync(string, params Expression<Func<ITermSet, object>>[])
Gets a termset from this termstore via it's id
Task<ITermSet> GetTermSetByIdAsync(string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
idstringTermset id to retrieve
selectorsExpression<Func<ITermSet, object>>[]Properties to load for the termset
Returns
GetTermSetByIdBatch(Batch, string, params Expression<Func<ITermSet, object>>[])
Gets a termset from this termstore via it's id
ITermSet GetTermSetByIdBatch(Batch batch, string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
batchBatchBatch to add this reques to
idstringTermset id to retrieve
selectorsExpression<Func<ITermSet, object>>[]Properties to load for the termset
Returns
- ITermSet
The loaded termset
GetTermSetByIdBatch(string, params Expression<Func<ITermSet, object>>[])
Gets a termset from this termstore via it's id
ITermSet GetTermSetByIdBatch(string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
idstringTermset id to retrieve
selectorsExpression<Func<ITermSet, object>>[]Properties to load for the termset
Returns
- ITermSet
The loaded termset
GetTermSetByIdBatchAsync(Batch, string, params Expression<Func<ITermSet, object>>[])
Gets a termset from this termstore via it's id
Task<ITermSet> GetTermSetByIdBatchAsync(Batch batch, string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
batchBatchBatch to add this reques to
idstringTermset id to retrieve
selectorsExpression<Func<ITermSet, object>>[]Properties to load for the termset
Returns
GetTermSetByIdBatchAsync(string, params Expression<Func<ITermSet, object>>[])
Gets a termset from this termstore via it's id
Task<ITermSet> GetTermSetByIdBatchAsync(string id, params Expression<Func<ITermSet, object>>[] selectors)
Parameters
idstringTermset id to retrieve
selectorsExpression<Func<ITermSet, object>>[]Properties to load for the termset