UsbDeviceClass.ProtocolCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.