KnownFolders.RemovableDevices | removableDevices property

Applies to Windows and Windows Phone

Gets the removable devices folder.

Syntax


var removableDevices = Windows.Storage.KnownFolders.removableDevices;

Property value

Type: StorageFolder

The removable devices folder.

Remarks

Note  Your application must use the File Type Association declaration in the manifest to explicitly declare what file types (extensions) will be accessed in the removable devices folder.

This folder corresponds to the Removable Devices section in My Computer and includes such devices as USB flash drives and external hard drives.

You can enumerate files and folders in this location, but when you create a query, the shapes you can specify with CommonFileQuery and CommonFolderQuery are limited to the defaultQuery, orderByName, and orderBySearchRank values.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

Capabilities

removableStorage

See also

KnownFolders
Reference
CreateFileQuery
CreateFileQueryWithOptions
CreateFolderQuery
CreateFolderQueryWithOptions

 

 

Show:
© 2014 Microsoft