RunDialogsInputListBox Method (String, IEnumerable) |
Shows a dialog in which a single item can be chosen from a list.
Namespace:
Autodesk.iLogic.Runtime
Assembly:
Autodesk.iLogic.Runtime (in Autodesk.iLogic.Runtime.dll) Version: 23.0
Syntax Public Shared Function InputListBox (
Prompt As String,
ListItems As IEnumerable
) As Object
public static Object InputListBox(
string Prompt,
IEnumerable ListItems
)
Parameters
- Prompt
- Type: SystemString
A prompt to show in the dialog. - ListItems
- Type: System.CollectionsIEnumerable
The list of items.
Return Value
Type:
ObjectThe selected item, or Nothing if the dialog was cancelled.
See Also