Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UsbDeviceClass.ProtocolCode | protocolCode property

Applies to Windows only

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

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

 

 

Show:
© 2014 Microsoft