Click or drag to resize

OpsContextSimSelectionRequest Method

Selection request. Displays a prompt listing the supplied strings. Returns index of selected item or -1 if user cancelled request. This is used for SIM due to nullable type issues.

Namespace:  Micros.Ops
Assembly:  Ops (in Ops.dll) Version: 18.2
Syntax
C#
public int SimSelectionRequest(
	string title,
	string prompt,
	IEnumerable items
)

Parameters

title
Type: SystemString
Title of the prompt.
prompt
Type: SystemString
Prompt text.
items
Type: System.CollectionsIEnumerable
A list of available selections. The ToString() method will be run on the items

Return Value

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