FilterWidgetPicklistGetPicklistWidgetItems Method |
Gets the list of items with distinct display text for the specified picklist.
Namespace:
NetQuarry.Data.WebMappers
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static List<PicklistItem> GetPicklistWidgetItems(
IAppContext cxt,
Picklist pick,
string fltText,
int maxItems,
FieldFilterOptions fltopts
)
Public Shared Function GetPicklistWidgetItems (
cxt As IAppContext,
pick As Picklist,
fltText As String,
maxItems As Integer,
fltopts As FieldFilterOptions
) As List(Of PicklistItem)
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - pick
- Type: NetQuarryPicklist
The picklist for which to retrieve items. - fltText
- Type: SystemString
Optional filter text (typically "starts with", but could be "contains") to apply. - maxItems
- Type: SystemInt32
The maximum number of items (with distinct display text) to return. - fltopts
- Type: NetQuarry.DataFieldFilterOptions
Filter options.
Return Value
Type:
ListPicklistItemThe list of appropriate picklist items.
See Also