IStorageItem.Path Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the full file-system path of the item, if the item has a path.
public:
property Platform::String ^ Path { Platform::String ^ get(); };
winrt::hstring Path();
public string Path { get; }
var string = iStorageItem.path;
Public ReadOnly Property Path As String
Property Value
The full path of the item, if the item has a path in the user's file-system.
Remarks
Do not rely on this property to access an item because some items may not have file-system paths. For example if the item is backed by a URI, or was picked using the file picker, the item is not guaranteed to have a file-system path.