FolderInformation.DeleteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DeleteAsync() |
Deletes the current folder. |
DeleteAsync(StorageDeleteOption) |
Deletes the current folder, optionally moving the deleted folder to the recycle bin. |
DeleteAsync()
Deletes the current folder.
public:
virtual IAsyncAction ^ DeleteAsync() = DeleteAsync;
/// [Windows.Foundation.Metadata.Overload("DeleteAsyncOverloadDefaultOptions")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DeleteAsync();
[Windows.Foundation.Metadata.Overload("DeleteAsyncOverloadDefaultOptions")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DeleteAsync();
function deleteAsync()
Public Function DeleteAsync () As IAsyncAction
Returns
No object or value is returned when this method completes.
Implements
- Attributes
See also
Applies to
DeleteAsync(StorageDeleteOption)
Deletes the current folder, optionally moving the deleted folder to the recycle bin.
public:
virtual IAsyncAction ^ DeleteAsync(StorageDeleteOption option) = DeleteAsync;
/// [Windows.Foundation.Metadata.Overload("DeleteAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DeleteAsync(StorageDeleteOption const& option);
[Windows.Foundation.Metadata.Overload("DeleteAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DeleteAsync(StorageDeleteOption option);
function deleteAsync(option)
Public Function DeleteAsync (option As StorageDeleteOption) As IAsyncAction
Parameters
- option
- StorageDeleteOption
A value that specifies whether to move the deleted folder to the recycle bin.
Returns
No object or value is returned when this method completes.
Implements
- Attributes