Jaa


DeviceClass Enum

Definition

Indicates the type of devices that the user wants to enumerate.

public enum class DeviceClass
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DeviceClass
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DeviceClass
var value = Windows.Devices.Enumeration.DeviceClass.all
Public Enum DeviceClass
Inheritance
DeviceClass
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
All 0

Indicates that the user wants to enumerate all devices.

AudioCapture 1

Indicates that the user wants to enumerate all audio capture devices.

AudioRender 2

Indicates that the user wants to enumerate all audio rendering devices.

PortableStorageDevice 3

Indicates that the user wants to enumerate all portable storage devices.

VideoCapture 4

Indicates that the user wants to enumerate all video capture devices.

ImageScanner 5

Indicates that the user wants to enumerate all scanning devices.

Location 6

Indicates that the user wants to enumerate all location aware devices.

Applies to