Aracılığıyla paylaş


KnownFolders.CameraRoll Property

Definition

Gets the Camera Roll folder.

public:
 static property StorageFolder ^ CameraRoll { StorageFolder ^ get(); };
static StorageFolder CameraRoll();
public static StorageFolder CameraRoll { get; }
var storageFolder = KnownFolders.cameraRoll;
Public Shared ReadOnly Property CameraRoll As StorageFolder

Property Value

The Camera Roll folder.

Windows requirements

App capabilities
picturesLibrary

Remarks

To access the Camera Roll folder, in the app manifest, specify the Pictures Library capability.

UWP app only. If the Camera Roll folder doesn't exist, reading the value of this property creates it. It does not raise an exception. The Camera Roll folder is typically a subfolder in the Pictures library that has the following path.

  • %USERPROFILE%\Pictures\Camera Roll

Applies to