Share via


UsbEndpointDescriptor.Direction Property

Definition

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.

Applies to