Click or drag to resize

OpsContextSelectionRequest(String, String, IEnumerableObject) Method

Selection request. Displays a prompt listing the supplied strings. Returns index of selected item or null if user cancelled request.

Namespace: Micros.Ops
Assembly: Ops (in Ops.dll) Version: 19.8
Syntax
C#
public int? SelectionRequest(
	string title,
	string prompt,
	IEnumerable<Object> items
)

Parameters

title  String
Title of the prompt.
prompt  String
Prompt text.
items  IEnumerableObject
A list of available selections. The ToString() method will be run on the items

Return Value

NullableInt32
Returns the index of the selected entry.
See Also