LibUsbDotNet 2.2.8
GetList Method
Library ReferenceMonoLibUsb.ProfileMonoUsbProfileListGetList()()()()
LibUsbDotNet on SourceForge
Gets a List<(Of <(<'T>)>)> of MonoUsbProfile instances.
Declaration Syntax
C#Visual BasicVisual C++
public List<MonoUsbProfile> GetList()
Public Function GetList As List(Of MonoUsbProfile)
public:
List<MonoUsbProfile^>^ GetList()
Return Value
Remarks

The MonoUsbProfileList uses an internal list that is locked when changes must be made. The GetList()()()() method returns a copy of this list that can be searched and modified as needed by the user.

The returned generic List<(Of <(<'T>)>)> contains many more functions for finding devices. It may be desirable to use these members, such as FindAll(Predicate<(Of <<'(T>)>>)) or ForEach(Action<(Of <<'(T>)>>)) to find a MonoUsbProfile instead of iterating through the MonoUsbProfileList one-by-one.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)