Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ref class StorageLibrary sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)] class StorageLibrary final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] public sealed class StorageLibrary
Public NotInheritable Class StorageLibrary
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
You can only access libraries that you have declared capabilities for in your app manifest. To learn more about capabilities see, App capability declarations.
|Windows version||SDK version||Value added|
Returns the StorageLibraryChangeTracker associated with the storage library.
Gets the folders in the current library.
Get the default save folder for the current library.
Determines if there are suggestions for adding existing folders with content to the StorageLibrary.
Gets the specified library.
Gets the specified library for a User.
Prompts the user to select a folder, and then adds the folder to the library.
Prompts the user to confirm removal of the specified folder from the current library, and then removes the folder.
Occurs when the list of folders in the current library changes.