Skip to main content
UsbEndpointDescriptor.EndpointType | endpointType property

Applies to Windows only

Gets the type of USB endpoint.

Syntax


var endpointType = usbEndpointDescriptor.endpointType;

public UsbEndpointType EndpointType { get; }

Public ReadOnly Property EndpointType As UsbEndpointType

public:
property UsbEndpointType EndpointType { 
   UsbEndpointType get();
}

Property value

Type: UsbEndpointType

A UsbEndpointType constant that indicates the type of USB endpoint. This value is Bit 1...0 of the bmAttributes 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

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