Skip to main content

IStorageItem Methods

Methods

DeleteAsync()Deletes the current storage item and it's contents
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
GetBasicPropertiesAsync()Gets the basic properties of the current item.
GetParentAsync()Gets the parent folder of the current storage item.
MoveAsync(IStorageFolder)Moves the current storage item and it's contents to a IStorageFolder
SaveBookmarkAsync()Saves items to a bookmark.

Extension Methods

TryGetLocalPath()Gets the local file system path of the item as a string.
(Defined by StorageProviderExtensions)

See Also

Reference

IStorageItem Interface
Avalonia.Platform.Storage Namespace