UsbEndpointDescriptor.EndpointType 属性

定义

获取 USB 终结点的类型。

public:
 property UsbEndpointType EndpointType { UsbEndpointType get(); };
UsbEndpointType EndpointType();
public UsbEndpointType EndpointType { get; }
var usbEndpointType = usbEndpointDescriptor.endpointType;
Public ReadOnly Property EndpointType As UsbEndpointType

属性值

指示 USB 终结点类型的 UsbEndpointType 常量。 此值为终结点描述符的 bmAttributes 字段的位 1...0。 有关信息,请参阅通用串行总线规范 (版本 2.0) 中的表 9-13 或通用串行总线 3.0 规范中的表 9-18。

适用于