Click or drag to resize

OpsContextSearchRequest Method

Search request. Displays a prompt listing the supplied Selection Entries. Returns index of selected item or -1 if user cancelled request.

Namespace:  Micros.Ops
Assembly:  Ops (in Ops.dll) Version: 18.2
Syntax
C#
public Nullable<int> SearchRequest(
	string title,
	string prompt,
	IList<OpsSelectionEntry> entries
)

Parameters

title
Type: SystemString
Title of the prompt.
prompt
Type: SystemString
Prompt text.
entries
Type: System.Collections.GenericIListOpsSelectionEntry
A list of available selections

Return Value

Type: NullableInt32
Returns the index of the selected entry.
See Also