Interface IUserCustomActionCollection
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Public interface to define a collection of UserCustomAction objects
public interface IUserCustomActionCollection : IQueryable<IUserCustomAction>, IQueryable, IAsyncEnumerable<IUserCustomAction>, IDataModelCollection<IUserCustomAction>, IEnumerable<IUserCustomAction>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IUserCustomAction>, IDataModelCollectionDeleteByGuidId, ISupportModules<IUserCustomActionCollection>
- Inherited Members
- Extension Methods
Methods
Add(AddUserCustomActionOptions)
Add a new User Custom Action with the specified options
IUserCustomAction Add(AddUserCustomActionOptions options)
Parameters
optionsAddUserCustomActionOptionsThe options to specify to create the User Custom Action
Returns
- IUserCustomAction
The created User Custom Action object.
AddAsync(AddUserCustomActionOptions)
Add a new User Custom Action with the specified options
Task<IUserCustomAction> AddAsync(AddUserCustomActionOptions options)
Parameters
optionsAddUserCustomActionOptionsThe options to specify to create the User Custom Action
Returns
- Task<IUserCustomAction>
The created User Custom Action object.
AddBatch(AddUserCustomActionOptions)
Add a new User Custom Action with the specified options in the current batch
IUserCustomAction AddBatch(AddUserCustomActionOptions options)
Parameters
optionsAddUserCustomActionOptionsThe options to specify to create the User Custom Action
Returns
- IUserCustomAction
The created User Custom Action object.
AddBatch(Batch, AddUserCustomActionOptions)
Add a new User Custom Action with the specified options in the specified batch instance
IUserCustomAction AddBatch(Batch batch, AddUserCustomActionOptions options)
Parameters
batchBatchThe instance of the batch to use
optionsAddUserCustomActionOptionsThe options to specify to create the User Custom Action
Returns
- IUserCustomAction
The created User Custom Action object.
AddBatchAsync(AddUserCustomActionOptions)
Add a new User Custom Action with the specified options in the current batch
Task<IUserCustomAction> AddBatchAsync(AddUserCustomActionOptions options)
Parameters
optionsAddUserCustomActionOptionsThe options to specify to create the User Custom Action
Returns
- Task<IUserCustomAction>
The created User Custom Action object.
AddBatchAsync(Batch, AddUserCustomActionOptions)
Add a new User Custom Action with the specified options in the specified batch instance
Task<IUserCustomAction> AddBatchAsync(Batch batch, AddUserCustomActionOptions options)
Parameters
batchBatchThe instance of the batch to use
optionsAddUserCustomActionOptionsThe options to specify to create the User Custom Action
Returns
- Task<IUserCustomAction>
The created User Custom Action object.