[This is preliminary documentation and is subject to change.]
Displays a choice of items from a collection to the user allowing
the choice of one of the items.
Declaration Syntax
C# |
public override Object ChooseOne( string message, ICollection collection )
Parameters
- message (String)
- A prompt message to display along with the choices.
- collection (ICollection)
- The collection of objects to choose from.
Return Value
The object chosen by the user, or null if the user did not choose
an object.