Click or drag to resize

OpsContextSelectionRequest Method (String, String, IListOpsSelectionEntry)

Selection request. Displays a prompt listing the supplied Selection Entries. 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,
	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