EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

UsbDeviceClass.ProtocolCode | protocolCode property

Gets or sets the protocol code of the device.

Syntax


var protocolCode = usbDeviceClass.protocolCode;
usbDeviceClass.protocolCode = protocolCode;

Property value

Type: IReference<Byte> [JavaScript/C++] | System.Nullable<Byte> [.NET]

The protocol code of the device.

Remarks

You can set the ProtocolCode value only when SubclassCode value is set to a non-null value.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

UsbDeviceClass

 

 

Afficher:
© 2015 Microsoft