KnownFolders.PicturesLibrary | picturesLibrary property

Applies to Windows and Windows Phone

Gets the Pictures library.

Syntax


public:
static property StorageFolder^ PicturesLibrary { 
   StorageFolder^ get();
}

Property value

Type: StorageFolder

The Pictures library.

Remarks

Prerequisites

To access the Pictures library, in the app manifest, specify the Pictures Library capability. Learn more about capabilities in Access to user resources using the Windows Runtime.

  • Applies to Windows Phone

Note  

For info about accessing the Pictures library in a Windows Phone Store app, see Access media libraries in Windows Phone apps.

Return value

To work with the Pictures library and its contents, call the methods and properties of the StorageFolder class.

Libraries let users view related content in a single location. A library is a virtual folder. The folders in a library remain in their original locations. Learn more about libraries in Windows Libraries.

More info

  • Applies to Windows

Note  

The Pictures Library typically has the following path.

%USERPROFILE%\Pictures

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

Capabilities

picturesLibrary

See also

KnownFolders
Access media libraries in Windows Phone apps

 

 

Show:
© 2014 Microsoft