Share via


AtomPubClient.DeleteResourceItemAsync(SyndicationItem) Method

Definition

Deletes an existing Entry or Media Link resource. This differs from the DeleteResourceAsync method in that the SyndicationItem object that represents the resource to be deleted is specified instead of the Uri. The DeleteResourceItemAsync method uses the property of the specified SyndicationItem as the Uri of the resource to be deleted.

public:
 virtual IAsyncActionWithProgress<TransferProgress> ^ DeleteResourceItemAsync(SyndicationItem ^ item) = DeleteResourceItemAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncActionWithProgress<TransferProgress> DeleteResourceItemAsync(SyndicationItem const& item);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncActionWithProgress<TransferProgress> DeleteResourceItemAsync(SyndicationItem item);
function deleteResourceItemAsync(item)
Public Function DeleteResourceItemAsync (item As SyndicationItem) As IAsyncActionWithProgress(Of TransferProgress)

Parameters

item
SyndicationItem

The resource to be deleted.

Returns

The object that is used to delete the resource asynchronously and to report the progress and completion status of the operation.

Attributes

Applies to