Retrieves a string from the user.
| C# | Visual Basic | Visual C++ |
string Prompt( string text )
Function Prompt ( _ text As String _ ) As String
String^ Prompt( String^ text )
- text (String)
- The message textm which is the input prompt.
The entered string, or null if the dialog is canceled.