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.OpsAssembly: Ops (in Ops.dll) Version: 19.9
Syntaxpublic int SimSelectionRequest(
string title,
string prompt,
IEnumerable items
)
Parameters
- title String
- Title of the prompt.
- prompt String
- Prompt text.
- items IEnumerable
- A list of available selections. The ToString() method will be run on the items
Return Value
Int32Returns the index of the selected entry.
See Also