Skip to main content

IStorageProvider Methods

Methods

OpenFileBookmarkAsync(String)Open IStorageBookmarkFile from the bookmark ID.
OpenFilePickerAsync(FilePickerOpenOptions)Opens file picker dialog.
OpenFolderBookmarkAsync(String)Open IStorageBookmarkFolder from the bookmark ID.
OpenFolderPickerAsync(FolderPickerOpenOptions)Opens folder picker dialog.
SaveFilePickerAsync(FilePickerSaveOptions)Opens save file picker dialog.
TryGetFileFromPathAsync(Uri)Attempts to read file from the file-system by its path.
TryGetFolderFromPathAsync(Uri)Attempts to read folder from the file-system by its path.
TryGetWellKnownFolderAsync(WellKnownFolder)Attempts to read folder from the file-system by its path

Extension Methods

TryGetFileFromPathAsync(String)Attempts to read file from the file-system by its path.
(Defined by StorageProviderExtensions)
TryGetFolderFromPathAsync(String)Attempts to read folder from the file-system by its path.
(Defined by StorageProviderExtensions)

See Also

Reference

IStorageProvider Interface
Avalonia.Platform.Storage Namespace