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: 19.8
Syntax
C#
public int? SearchRequest(
	string title,
	string prompt,
	IList<OpsSelectionEntry> entries
)

Parameters

title  String
Title of the prompt.
prompt  String
Prompt text.
entries  IListOpsSelectionEntry
A list of available selections

Return Value

NullableInt32
Returns the index of the selected entry.
See Also