Interface IDataModelCollectionDeleteByIntegerId
When implemented it provides a DeleteById method on the collection
Namespace: PnP.Core.Model
Assembly: PnP.Core.dll
Syntax
public interface IDataModelCollectionDeleteByIntegerId
Methods
DeleteById(int)
Delete an item from the collection via it's id
Declaration
void DeleteById(int id)
Parameters
|
int
id
Id of the item to delete |
DeleteByIdAsync(int)
Delete an item from the collection via it's id
Declaration
Task DeleteByIdAsync(int id)
Parameters
|
int
id
Id of the item to delete |
Returns
| Task |
DeleteByIdBatch(Batch, int)
Delete an item from the collection via it's id
Declaration
void DeleteByIdBatch(Batch batch, int id)
Parameters
|
Batch
batch
Batch to add the request to |
|
int
id
Id of the item to delete |
DeleteByIdBatch(int)
Delete an item from the collection via it's id
Declaration
void DeleteByIdBatch(int id)
Parameters
|
int
id
Id of the item to delete |
DeleteByIdBatchAsync(Batch, int)
Delete an item from the collection via it's id
Declaration
Task DeleteByIdBatchAsync(Batch batch, int id)
Parameters
|
Batch
batch
Batch to add the request to |
|
int
id
Id of the item to delete |
Returns
| Task |