Skip to main content
UsbEndpointDescriptor.Parse | parse method

Applies to Windows only

Parses the specified USB descriptor and returns the USB endpoint descriptor in a UsbEndpointDescriptor object.

Syntax


var usbEndpointDescriptor = Windows.Devices.Usb.UsbEndpointDescriptor.parse(descriptor);

public static UsbEndpointDescriptor Parse(
  UsbDescriptor descriptor
)

Public Shared Function Parse(
  descriptor As UsbDescriptor 
) As UsbEndpointDescriptor

public:
static UsbEndpointDescriptor^ Parse(
  UsbDescriptor^ descriptor
)

Parameters

descriptor

Type: UsbDescriptor

A UsbDescriptor object that contains the USB endpoint descriptor.

Return value

Type: UsbEndpointDescriptor

A UsbEndpointDescriptor object that contains the USB endpoint descriptor.

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