This topic has not yet been rated - Rate this topic

KnownFolders.RemovableDevices | removableDevices property

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.

Windows Phone 8

This API is not implemented and will throw an exception if called.

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

Capabilities

removableStorage

See also

KnownFolders
Reference
CreateFileQuery
CreateFileQueryWithOptions
CreateFolderQuery
CreateFolderQueryWithOptions

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.