DeviceClass Enum

Definition

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

public enum class DeviceClass
enum 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 10 requirements

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

Fields

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.

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.

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.

Applies to