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

Gets or sets the protocol code of the device.

Syntax


Public Property ProtocolCode As Nullable(Of Byte)

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

 

 

Show:
© 2015 Microsoft