Skip to main content
UsbEndpointDescriptor.Direction | direction property

Gets the direction of the USB endpoint.

Syntax


var direction = usbEndpointDescriptor.direction;

public UsbTransferDirection Direction { get; }

Public ReadOnly Property Direction As UsbTransferDirection

public:
property UsbTransferDirection Direction { 
   UsbTransferDirection get();
}

Property value

Type: UsbTransferDirection

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.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Usb
Windows::Devices::Usb [C++]

Metadata

Windows.winmd

See also

UsbEndpointDescriptor