Share via


UsbDeviceClass.ProtocolCode Property

Definition

Gets or sets the protocol code of the device.

public:
 property IReference<byte> ^ ProtocolCode { IReference<byte> ^ get(); void set(IReference<byte> ^ value); };
IReference<byte> ProtocolCode();

void ProtocolCode(IReference<byte> value);
public System.Nullable<byte> ProtocolCode { get; set; }
var iReference = usbDeviceClass.protocolCode;
usbDeviceClass.protocolCode = iReference;
Public Property ProtocolCode As Nullable(Of Byte)

Property Value

The protocol code of the device.

Remarks

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

Applies to