PartMatcherSearchMpnsInLibrary(IPluginPartLibrary, ListPartIdentifier) Method
Search MPNs in selected library. MPN is the primary key. If there are multiple parts with the same MPN in the library,
the results are filtered by the specified manufacturer. If no matches are obtained, all results with the searched MPN are returned.
Namespace: PCBI_PartMatcher.PublicAssembly: PCBI.API_Library (in PCBI.API_Library.dll) Version: 17.0.0.0 (17.0.0.0)
public Task<Dictionary<PartIdentifier, IPartLibraryEntry>> SearchMpnsInLibrary(
IPluginPartLibrary selectedLibrary,
List<PartIdentifier> searchMpns
)
Public Function SearchMpnsInLibrary (
selectedLibrary As IPluginPartLibrary,
searchMpns As List(Of PartIdentifier)
) As Task(Of Dictionary(Of PartIdentifier, IPartLibraryEntry))
public:
Task<Dictionary<PartIdentifier^, IPartLibraryEntry^>^>^ SearchMpnsInLibrary(
IPluginPartLibrary^ selectedLibrary,
List<PartIdentifier^>^ searchMpns
)
member SearchMpnsInLibrary :
selectedLibrary : IPluginPartLibrary *
searchMpns : List<PartIdentifier> -> Task<Dictionary<PartIdentifier, IPartLibraryEntry>>
- selectedLibrary IPluginPartLibrary
- Library to search MPNs
- searchMpns ListPartIdentifier
- List of MPNs/Manufacturers to search in Library
TaskDictionaryPartIdentifier,
IPartLibraryEntryDictionary of all found parts by identifier