Jaa


KnownFolders.MusicLibrary Property

Definition

Gets the Music library.

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

Property Value

The Music library.

Windows requirements

App 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

Applies to

See also