IStorageItem.DeleteAsync IStorageItem.DeleteAsync IStorageItem.DeleteAsync IStorageItem.DeleteAsync IStorageItem.DeleteAsync Method

Definition

Overloads

DeleteAsync() DeleteAsync() DeleteAsync() DeleteAsync() DeleteAsync()

Deletes the current item.

DeleteAsync(StorageDeleteOption) DeleteAsync(StorageDeleteOption) DeleteAsync(StorageDeleteOption) DeleteAsync(StorageDeleteOption) DeleteAsync(StorageDeleteOption)

Deletes the current item, optionally deleting it permanently.

DeleteAsync() DeleteAsync() DeleteAsync() DeleteAsync() DeleteAsync()

Deletes the current item.

public : IAsyncAction DeleteAsync()
IAsyncAction DeleteAsync() const;
public IAsyncAction DeleteAsync()
Public Function DeleteAsync() As IAsyncAction
Windows.Storage.IStorageItem.deleteAsync().done( /* Your success and error handlers */ );

Returns

No object or value is returned by this method when it completes.

Remarks

This method uses StorageDeleteOption.default to determine whether the item is deleted permanently.

See also

DeleteAsync(StorageDeleteOption) DeleteAsync(StorageDeleteOption) DeleteAsync(StorageDeleteOption) DeleteAsync(StorageDeleteOption) DeleteAsync(StorageDeleteOption)

Deletes the current item, optionally deleting it permanently.

public : IAsyncAction DeleteAsync(StorageDeleteOption option)
IAsyncAction DeleteAsync(StorageDeleteOption option) const;
public IAsyncAction DeleteAsync(StorageDeleteOption option)
Public Function DeleteAsync(option As StorageDeleteOption) As IAsyncAction
Windows.Storage.IStorageItem.deleteAsync(option).done( /* Your success and error handlers */ );

Parameters

option
StorageDeleteOption StorageDeleteOption StorageDeleteOption

A value that indicates whether to delete the item permanently.

Returns

No object or value is returned by this method when it completes.

See also