UsbControlRequestType.AsByte 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 bmRequestType value as a byte.
public:
property byte AsByte { byte get(); void set(byte value); };
byte AsByte();
void AsByte(byte value);
public byte AsByte { get; set; }
var byte = usbControlRequestType.asByte;
usbControlRequestType.asByte = byte;
Public Property AsByte As Byte
Property Value
byte
The entire bmRequestType value in a byte.
Remarks
If the hardware specification for the device defines the bmRequestType field value to be sent as a byte, you can use the AsByte property. Otherwise, you must individually get or set bmRequestType values, such as direction, type, and recipient by using ControlTransferType, Direction, and Recipient properties, respectively.