Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

KnownFolders.MusicLibrary Property

Definition

Namespace:
Windows.Storage

Important

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.

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

Requirements Description
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


Feedback

Was this page helpful?