Table of Contents

Interface IFolderCollection

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

Public interface to define a collection of Folder objects

public interface IFolderCollection : IQueryable<IFolder>, IQueryable, IAsyncEnumerable<IFolder>, IDataModelCollection<IFolder>, IEnumerable<IFolder>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IFolder>, IDataModelCollectionDeleteByGuidId, ISupportModules<IFolderCollection>
Inherited Members
Extension Methods

Methods

Add(string)

Add a folder

IFolder Add(string name)

Parameters

name string

The name of the folder to add

Returns

IFolder

The newly added folder

AddAsync(string)

Add a folder

Task<IFolder> AddAsync(string name)

Parameters

name string

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

IFolder AddBatch(Batch batch, string name)

Parameters

batch Batch

The batch instance to use

name string

The name of the folder to add

Returns

IFolder

The newly added folder

AddBatch(string)

Add a folder

IFolder AddBatch(string name)

Parameters

name string

The name of the folder to add

Returns

IFolder

The newly added folder

AddBatchAsync(Batch, string)

Add a folder using a specific batch instance

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

Parameters

batch Batch

The batch instance to use

name string

The name of the folder to add

Returns

Task<IFolder>

The newly added folder

AddBatchAsync(string)

Add a folder

Task<IFolder> AddBatchAsync(string name)

Parameters

name string

The name of the folder to add

Returns

Task<IFolder>

The newly added folder