GetFolderAsync Method
Collapse the table of content
Expand the table of content

ExternalStorageDevice.GetFolderAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a single folder from the current SD card using the specified path.

Namespace:  Microsoft.Phone.Storage
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Public Function GetFolderAsync ( _
	folderPath As String _
) As Task(Of ExternalStorageFolder)


Type: System.String
The path of the folder, relative to the root folder.

Return Value

Type: System.Threading.Tasks.Task(Of ExternalStorageFolder)
The task that returns the ExternalStorageFolder object.

Your app must register for a file association in the app manifest file to declare what file types (extensions) can be read from the SD card. For more info, see Auto-launching apps using file and URI associations for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft