Interface IFolderCollection
Public interface to define a collection of Folder objects
Assembly: PnP.Core.dll
Syntax
public interface IFolderCollection : IDataModelCollection<IFolder>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IFolder>, IDataModelCollectionDeleteByGuidId, ISupportModules<IFolderCollection>
Methods
Declaration
Parameters
System.String
name
The name of the folder to add
|
Returns
Declaration
Task<IFolder> AddAsync(string name)
Parameters
System.String
name
The name of the folder to add
|
Returns
Task<IFolder>
The newly added folder
|
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
Declaration
IFolder AddBatch(string name)
Parameters
System.String
name
The name of the folder to add
|
Returns
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
|
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