共用方式為


UsbControlRequestType.Recipient 屬性

定義

取得或設定 USB 控制項傳輸的收件者。

public:
 property UsbControlRecipient Recipient { UsbControlRecipient get(); void set(UsbControlRecipient value); };
UsbControlRecipient Recipient();

void Recipient(UsbControlRecipient value);
public UsbControlRecipient Recipient { get; set; }
var usbControlRecipient = usbControlRequestType.recipient;
usbControlRequestType.recipient = usbControlRecipient;
Public Property Recipient As UsbControlRecipient

屬性值

USB 控制項傳輸的收件者。

備註

如果收件者是使用中組態的第一個介面, (DefaultInterface) , SendControlInTransferAsyncSendControlOutTransferAsync 方法會以預設介面的介面編號覆寫 UsbSetupPacket.Index 的低位元組。

適用於