Udostępnij za pośrednictwem


IStorageItem.Path Property

Definition

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

String

Platform::String

winrt::hstring

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.

Applies to