KnownFolders.CameraRoll | cameraRoll property

Applies to Windows and Windows Phone

Gets the Camera Roll folder.

Syntax


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

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.

  • Applies to Windows

Note  

If the Camera Roll folder doesn't exist, reading the value of this property creates it. It does not raise an exception.

More info

  • Applies to Windows

Note  

The Camera Roll folder is typically a subfolder in the Pictures library that has the following path.

%USERPROFILE%\Pictures\Camera Roll

Requirements

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:
© 2014 Microsoft