Table of Contents

Interface IDataModelCollectionDeleteByStringId

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

When implemented it provides a DeleteById method on the collection

public interface IDataModelCollectionDeleteByStringId

Methods

DeleteById(string)

Delete an item from the collection via it's id

void DeleteById(string id)

Parameters

id string

Id of the item to delete

DeleteByIdAsync(string)

Delete an item from the collection via it's id

Task DeleteByIdAsync(string id)

Parameters

id string

Id of the item to delete

Returns

Task

DeleteByIdBatch(Batch, string)

Delete an item from the collection via it's id

void DeleteByIdBatch(Batch batch, string id)

Parameters

batch Batch

Batch to add the request to

id string

Id of the item to delete

DeleteByIdBatch(string)

Delete an item from the collection via it's id

void DeleteByIdBatch(string id)

Parameters

id string

Id of the item to delete

DeleteByIdBatchAsync(Batch, string)

Delete an item from the collection via it's id

Task DeleteByIdBatchAsync(Batch batch, string id)

Parameters

batch Batch

Batch to add the request to

id string

Id of the item to delete

Returns

Task

DeleteByIdBatchAsync(string)

Delete an item from the collection via it's id

Task DeleteByIdBatchAsync(string id)

Parameters

id string

Id of the item to delete

Returns

Task