Click or drag to resize

OpsContextSelectionRequest Method (String, String, IEnumerableObject)

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: 18.2
Syntax
C#
public Nullable<int> SelectionRequest(
	string title,
	string prompt,
	IEnumerable<Object> items
)

Parameters

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

Return Value

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