Table of Contents

Interface IDataModelCollectionDeleteByGuidId

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

When implemented it provides a DeleteById method on the collection

public interface IDataModelCollectionDeleteByGuidId

Methods

DeleteById(Guid)

Delete an item from the collection via it's id

void DeleteById(Guid id)

Parameters

id Guid

Id of the item to delete

DeleteByIdAsync(Guid)

Delete an item from the collection via it's id

Task DeleteByIdAsync(Guid id)

Parameters

id Guid

Id of the item to delete

Returns

Task

DeleteByIdBatch(Batch, Guid)

Delete an item from the collection via it's id

void DeleteByIdBatch(Batch batch, Guid id)

Parameters

batch Batch

Batch to add the request to

id Guid

Id of the item to delete

DeleteByIdBatch(Guid)

Delete an item from the collection via it's id

void DeleteByIdBatch(Guid id)

Parameters

id Guid

Id of the item to delete

DeleteByIdBatchAsync(Batch, Guid)

Delete an item from the collection via it's id

Task DeleteByIdBatchAsync(Batch batch, Guid id)

Parameters

batch Batch

Batch to add the request to

id Guid

Id of the item to delete

Returns

Task

DeleteByIdBatchAsync(Guid)

Delete an item from the collection via it's id

Task DeleteByIdBatchAsync(Guid id)

Parameters

id Guid

Id of the item to delete

Returns

Task