IStorageFolder Interface

Manipulates folders and their contents, and provides information about them.

Definition

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface IStorageFolder : IStorageItem, 
	IDisposable
Implements
IStorageItem, IDisposable

Properties

CanBookmark Returns true is item can be bookmarked and reused later.
(Inherited from IStorageItem)
Name Gets the name of the item including the file name extension if there is one.
(Inherited from IStorageItem)
Path Gets the file-system path of the item.
(Inherited from IStorageItem)

Methods

CreateFileAsync(String) Creates a file with specified name as a child of the current storage folder
CreateFolderAsync(String) Creates a folder with specified name as a child of the current storage folder
DeleteAsync Deletes the current storage item and it's contents
(Inherited from IStorageItem)
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
GetBasicPropertiesAsync Gets the basic properties of the current item.
(Inherited from IStorageItem)
GetItemsAsync Gets the files and subfolders in the current folder.
GetParentAsync Gets the parent folder of the current storage item.
(Inherited from IStorageItem)
MoveAsync(IStorageFolder) Moves the current storage item and it's contents to a IStorageFolder
(Inherited from IStorageItem)
SaveBookmarkAsync Saves items to a bookmark.
(Inherited from IStorageItem)

Extension Methods

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

See Also