Search Results for

    Show / Hide Table of Contents

    Interface IFolderCollection

    Public interface to define a collection of Folder objects

    Inherited Members
    IDataModelParent.Parent
    IDataModelWithContext.PnPContext
    IRequestableCollection.Requested
    IRequestableCollection.Length
    IRequestableCollection.RequestedItems
    IRequestableCollection.Clear()
    IDataModelCollectionLoad<IFolder>.LoadAsync(Expression<Func<IFolder, Object>>[])
    IDataModelCollectionLoad<IFolder>.LoadBatchAsync(Batch, Expression<Func<IFolder, Object>>[])
    IDataModelCollectionDeleteByGuidId.DeleteById(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdAsync(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatch(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatchAsync(Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatch(Batch, Guid)
    IDataModelCollectionDeleteByGuidId.DeleteByIdBatchAsync(Batch, Guid)
    Namespace: PnP.Core.Model.SharePoint
    Assembly: PnP.Core.dll
    Syntax
    public interface IFolderCollection : IDataModelCollection<IFolder>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IFolder>, IDataModelCollectionDeleteByGuidId, ISupportModules<IFolderCollection>

    Methods

    Add(String)

    Add a folder

    Declaration
    IFolder Add(string name)
    Parameters
    System.String name

    The name of the folder to add

    Returns
    IFolder

    The newly added folder

    AddAsync(String)

    Add a folder

    Declaration
    Task<IFolder> AddAsync(string name)
    Parameters
    System.String name

    The name of the folder to add

    Returns
    Task<IFolder>

    The newly added folder

    AddBatch(Batch, String)

    Add a folder using a specific batch instance

    Declaration
    IFolder AddBatch(Batch batch, string name)
    Parameters
    Batch batch

    The batch instance to use

    System.String name

    The name of the folder to add

    Returns
    IFolder

    The newly added folder

    AddBatch(String)

    Add a folder

    Declaration
    IFolder AddBatch(string name)
    Parameters
    System.String name

    The name of the folder to add

    Returns
    IFolder

    The newly added folder

    AddBatchAsync(Batch, String)

    Add a folder using a specific batch instance

    Declaration
    Task<IFolder> AddBatchAsync(Batch batch, string name)
    Parameters
    Batch batch

    The batch instance to use

    System.String name

    The name of the folder to add

    Returns
    Task<IFolder>

    The newly added folder

    AddBatchAsync(String)

    Add a folder

    Declaration
    Task<IFolder> AddBatchAsync(string name)
    Parameters
    System.String name

    The name of the folder to add

    Returns
    Task<IFolder>

    The newly added folder

    Extension Methods

    DataModelCollectionLoadExtensions.LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatchAsync<TModel>(IDataModelCollectionLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, Batch, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.LoadBatch<TModel>(IDataModelCollectionLoad<TModel>, Expression<Func<TModel, Object>>[])
    DataModelCollectionLoadExtensions.Load<TModel>(IDataModelCollectionLoad<TModel>, Expression<Func<TModel, Object>>[])
    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