StorageDeleteOption enumeration

Applies to Windows and Windows Phone

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

Syntax


var value = Windows.Storage.StorageDeleteOption.default;

Attributes

[Version(0x06020000)]

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

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

 

 

Show:
© 2014 Microsoft