UsbInterfaceDescriptor.TryParse(UsbDescriptor, UsbInterfaceDescriptor) Method
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.
Retrieves information about the alternate setting in a UsbInterfaceDescriptor object that is contained in a UsbDescriptor object.
public:
static bool TryParse(UsbDescriptor ^ descriptor, [Out] UsbInterfaceDescriptor ^ & parsed);
static bool TryParse(UsbDescriptor const& descriptor, [Out] UsbInterfaceDescriptor const& & parsed);
public static bool TryParse(UsbDescriptor descriptor, out UsbInterfaceDescriptor parsed);
Public Shared Function TryParse (descriptor As UsbDescriptor, ByRef parsed As UsbInterfaceDescriptor) As Boolean
Parameters
- descriptor
- UsbDescriptor
The UsbDescriptor object to parse.
- parsed
- UsbInterfaceDescriptor
Receives a UsbInterfaceDescriptor object.
Returns
Boolean
bool
True, if the specified UsbDescriptor object is USB interface descriptor. Otherwise, false.