Share via


PhotoImportAccessMode Enum

Definition

Specifies the access mode with which photos are imported.

public enum class PhotoImportAccessMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PhotoImportAccessMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PhotoImportAccessMode
var value = Windows.Media.Import.PhotoImportAccessMode.readWrite
Public Enum PhotoImportAccessMode
Inheritance
PhotoImportAccessMode
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
ReadWrite 0

Photos are imported with read and write access.

ReadOnly 1

Photos are imported with read-only access.

ReadAndDelete 2

Photos are imported with read and delete access.

Applies to