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 的低字节。

适用于