UsbEndpointDescriptor.Direction 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 the direction of the USB endpoint.
public:
property UsbTransferDirection Direction { UsbTransferDirection get(); };
UsbTransferDirection Direction();
public UsbTransferDirection Direction { get; }
var usbTransferDirection = usbEndpointDescriptor.direction;
Public ReadOnly Property Direction As UsbTransferDirection
Property Value
A UsbTransferDirection value that indicates the direction of the endpoint. This value is Bit 7 of the bEndpointAddress field of an endpoint descriptor. For information, see Table 9-13 in the Universal Serial Bus Specification (version 2.0) or Table 9-18 in the Universal Serial Bus 3.0 Specification.