DeviceAccessMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The device access mode.
public enum class DeviceAccessMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Custom.CustomDeviceContract, 65536)]
enum class DeviceAccessMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Custom.CustomDeviceContract), 65536)]
public enum DeviceAccessMode
var value = Windows.Devices.Custom.DeviceAccessMode.read
Public Enum DeviceAccessMode
- Inheritance
-
DeviceAccessMode
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows 10 Fall Creators Update (introduced in 10.0.16299.0) |
API contract |
Windows.Devices.Custom.CustomDeviceContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
Read | 0 | Read access. |
Write | 1 | Write access. |
ReadWrite | 2 | Read/write access. |