KnownFolders.Playlists | playlists property

Gets the play lists folder.

Syntax


var playlists = Windows.Storage.KnownFolders.playlists;

Property value

Type: StorageFolder

The play lists folder.

Remarks

Prerequisites

To access the play lists folder, in the app manifest, specify the Music Library capability. Learn more about capabilities in Access to user resources using the Windows Runtime.

Return value

To work with the play lists folder and its contents, call the methods and properties of the StorageFolder class.

Note  

Windows Store apps only. If the Playlists folder doesn't exist, reading the value of this property creates it. It does not raise an exception.

More info

Note  

Windows Store apps only. The play lists folder is typically a subfolder in the Music library that has the following path.

%USERPROFILE%\Music\Playlists

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

KnownFolders

 

 

Show:
© 2015 Microsoft