Search Results for

    Show / Hide Table of Contents

    Interface ITermSetCollection

    Collection of term sets

    Inherited Members
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IRequestableCollection.Requested
    IRequestableCollection.Length
    IRequestableCollection.RequestedItems
    IRequestableCollection.Clear()
    IDataModelCollectionDeleteByStringId.DeleteById(String)
    IDataModelCollectionDeleteByStringId.DeleteByIdAsync(String)
    IDataModelCollectionDeleteByStringId.DeleteByIdBatch(String)
    IDataModelCollectionDeleteByStringId.DeleteByIdBatchAsync(String)
    IDataModelCollectionDeleteByStringId.DeleteByIdBatch(Batch, String)
    IDataModelCollectionDeleteByStringId.DeleteByIdBatchAsync(Batch, String)
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface ITermSetCollection : IDataModelCollection<ITermSet>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionDeleteByStringId, ISupportModules<ITermSetCollection>

    Methods

    Add(String, String)

    Adds a new term set

    Declaration
    ITermSet Add(string name, string description = null)
    Parameters
    System.String name

    Name of the term set

    System.String description

    Optional description of the term set

    Returns
    ITermSet

    Newly added term set

    AddAsync(String, String)

    Adds a new term set

    Declaration
    Task<ITermSet> AddAsync(string name, string description = null)
    Parameters
    System.String name

    Name of the term set

    System.String description

    Optional description of the term set

    Returns
    Task<ITermSet>

    Newly added term set

    AddBatch(Batch, String, String)

    Adds a new term set

    Declaration
    ITermSet AddBatch(Batch batch, string name, string description = null)
    Parameters
    Batch batch

    Batch to use

    System.String name

    Name of the term set

    System.String description

    Optional description of the term set

    Returns
    ITermSet

    Newly added term set

    AddBatch(String, String)

    Adds a new term set

    Declaration
    ITermSet AddBatch(string name, string description = null)
    Parameters
    System.String name

    Name of the term set

    System.String description

    Optional description of the term set

    Returns
    ITermSet

    Newly added term set

    AddBatchAsync(Batch, String, String)

    Adds a new term set

    Declaration
    Task<ITermSet> AddBatchAsync(Batch batch, string name, string description = null)
    Parameters
    Batch batch

    Batch to use

    System.String name

    Name of the term set

    System.String description

    Optional description of the term set

    Returns
    Task<ITermSet>

    Newly added term set

    AddBatchAsync(String, String)

    Adds a new term set

    Declaration
    Task<ITermSet> AddBatchAsync(string name, string description = null)
    Parameters
    System.String name

    Name of the term set

    System.String description

    Optional description of the term set

    Returns
    Task<ITermSet>

    Newly added term set

    GetById(String, Expression<Func<ITermSet, Object>>[])

    Extension method to select a term set by id

    Declaration
    ITermSet GetById(string id, params Expression<Func<ITermSet, object>>[] selectors)
    Parameters
    System.String id

    The id to search for

    Expression<Func<ITermSet, System.Object>>[] selectors

    The expressions declaring the fields to select

    Returns
    ITermSet

    The resulting term set instance, if any

    GetByIdAsync(String, Expression<Func<ITermSet, Object>>[])

    Extension method to select a term set by id

    Declaration
    Task<ITermSet> GetByIdAsync(string id, params Expression<Func<ITermSet, object>>[] selectors)
    Parameters
    System.String id

    The id to search for

    Expression<Func<ITermSet, System.Object>>[] selectors

    The expressions declaring the fields to select

    Returns
    Task<ITermSet>

    The resulting term set instance, if any

    Extension Methods

    RequestModuleExtensions.WithHeaders<TModel>(ISupportModules<TModel>, Dictionary<String, String>, Action<Dictionary<String, String>>)
    RequestModuleExtensions.WithResponseHeaders<TModel>(ISupportModules<TModel>, Action<Dictionary<String, String>>)
    QueryableExtensions.AsRequested<TSource>(IDataModelCollection<TSource>)
    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer