OctopartPartLibraryGetParts Method
API Library is a special case: For BooleanOperator only "Or" is accepted. For filter keys, only "Name" or "Description" is implemented. Other keys can be used, but the search may become inaccurate.
Namespace: PCBI_PartExpert.ApiLibrariesAssembly: PCBI_PartExpert (in PCBI_PartExpert.dll) Version: 17.0.0.0 (17.0.0.0)
public Task<ReadOnlyCollection<IPartLibraryEntry>> GetParts(
int? start,
int? count,
BooleanOperator boolean,
List<FilterParameter> filters
)
Public Function GetParts (
start As Integer?,
count As Integer?,
boolean As BooleanOperator,
filters As List(Of FilterParameter)
) As Task(Of ReadOnlyCollection(Of IPartLibraryEntry))
public:
virtual Task<ReadOnlyCollection<IPartLibraryEntry^>^>^ GetParts(
Nullable<int> start,
Nullable<int> count,
BooleanOperator boolean,
List<FilterParameter^>^ filters
) sealed
abstract GetParts :
start : Nullable<int> *
count : Nullable<int> *
boolean : BooleanOperator *
filters : List<FilterParameter> -> Task<ReadOnlyCollection<IPartLibraryEntry>>
override GetParts :
start : Nullable<int> *
count : Nullable<int> *
boolean : BooleanOperator *
filters : List<FilterParameter> -> Task<ReadOnlyCollection<IPartLibraryEntry>>
- start NullableInt32
- Not currently considered
- count NullableInt32
- Number of results
- boolean BooleanOperator
- Only "Or"
- filters ListFilterParameter
- Only "Equals"
TaskReadOnlyCollectionIPartLibraryEntryIPluginPartLibraryGetParts(NullableInt32, NullableInt32, BooleanOperator, ListFilterParameter)