Windows Dev Center

StorageDeleteOption enumeration

Specifies whether a deleted item is moved to the Recycle Bin or permanently deleted.

Syntax


public enum class StorageDeleteOption

Members

The StorageDeleteOption enumeration has these members.

MemberValueDescription
Default | default0

Specifies the default behavior.

  • If the item is in an application storage location (that is, a location that can be accessed through the ApplicationData class), it's permanently deleted. It's not moved to the Recycle Bin.
  • If the item is in another location, the item is deleted according to the default behavior of File Explorer for that location. The item may be moved to the Recycle Bin, or it may be permanently deleted.

PermanentDelete | permanentDelete1

Permanently deletes the item. The item is not moved to the Recycle Bin.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

 

 

Show:
© 2015 Microsoft