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