Path Property
Collapse the table of content
Expand the table of content

ExternalStorageFile.Path Property

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

Gets the path of the current file.

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

public string Path { get; private set; }

Property Value

Type: System.String
The path of the current file.

This path is relative to the root folder of the SD card.

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