Windows Dev Center

KnownFolders.CameraRoll | cameraRoll property

Gets the Camera Roll folder.

Syntax


var cameraRoll = Windows.Storage.KnownFolders.cameraRoll;

Property value

Type: StorageFolder

The Camera Roll folder.

Remarks

Prerequisites

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

Return value

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

Note  

Windows Store apps only. If the Camera Roll 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 Camera Roll folder is typically a subfolder in the Pictures library that has the following path.

%USERPROFILE%\Pictures\Camera Roll

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

Capabilities

picturesLibrary

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

Capabilities

picturesLibrary

See also

KnownFolders

 

 

Show:
© 2015 Microsoft