Lets you add and remove folders from a library like Music or Videos and lets you get a list of folders included in the library.
public : sealed class StorageLibrary : IStorageLibrary, IStorageLibrary2, IStorageLibrary3
struct winrt::Windows::Storage::StorageLibrary : IStorageLibrary, IStorageLibrary2, IStorageLibrary3
public sealed class StorageLibrary : IStorageLibrary, IStorageLibrary2, IStorageLibrary3
Public NotInheritable Class StorageLibrary Implements IStorageLibrary, IStorageLibrary2, IStorageLibrary3
// This class does not provide a public constructor.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
You can only access libraries that you have declared capabilities for in your app manifest. To learn more about capabilities see, App capability declarations.
|ChangeTracker ChangeTracker ChangeTracker ChangeTracker ChangeTracker||
Returns the StorageLibraryChangeTracker associated with the storage library.
|Folders Folders Folders Folders Folders||
Gets the folders in the current library.
|SaveFolder SaveFolder SaveFolder SaveFolder SaveFolder||
Get the default save folder for the current library.
|DefinitionChanged DefinitionChanged DefinitionChanged DefinitionChanged DefinitionChanged||
Occurs when the list of folders in the current library changes.