KnownFolders.MusicLibrary KnownFolders.MusicLibrary KnownFolders.MusicLibrary KnownFolders.MusicLibrary KnownFolders.MusicLibrary Property

Definition

Gets the Music library.

public : static StorageFolder MusicLibrary { get; }
static StorageFolder MusicLibrary();
public static StorageFolder MusicLibrary { get; }
Public Shared ReadOnly Property MusicLibrary As StorageFolder
var storageFolder = Windows.Storage.KnownFolders.musicLibrary;

Property Value

Additional features and requirements

Capabilities
musicLibrary

Remarks

To access the Music library, in the app manifest, specify the Music Library capability. For info about accessing the Music, Pictures, or Videos library in a Universal Windows app, see Files and folders in the Music, Pictures, and Videos libraries.

The Music Library typically has the following path.

  • %USERPROFILE%\Music

See also