Table of Contents

Interface IDataModelCollectionDeleteByIntegerId

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

When implemented it provides a DeleteById method on the collection

public interface IDataModelCollectionDeleteByIntegerId

Methods

DeleteById(int)

Delete an item from the collection via it's id

void DeleteById(int id)

Parameters

id int

Id of the item to delete

DeleteByIdAsync(int)

Delete an item from the collection via it's id

Task DeleteByIdAsync(int id)

Parameters

id int

Id of the item to delete

Returns

Task

DeleteByIdBatch(Batch, int)

Delete an item from the collection via it's id

void DeleteByIdBatch(Batch batch, int id)

Parameters

batch Batch

Batch to add the request to

id int

Id of the item to delete

DeleteByIdBatch(int)

Delete an item from the collection via it's id

void DeleteByIdBatch(int id)

Parameters

id int

Id of the item to delete

DeleteByIdBatchAsync(Batch, int)

Delete an item from the collection via it's id

Task DeleteByIdBatchAsync(Batch batch, int id)

Parameters

batch Batch

Batch to add the request to

id int

Id of the item to delete

Returns

Task

DeleteByIdBatchAsync(int)

Delete an item from the collection via it's id

Task DeleteByIdBatchAsync(int id)

Parameters

id int

Id of the item to delete

Returns

Task