HtmlWindow.Prompt(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shows a dialog box that displays a message and a text box to the user.
public:
System::String ^ Prompt(System::String ^ message, System::String ^ defaultInputValue);
public string Prompt (string message, string defaultInputValue);
public string? Prompt (string message, string defaultInputValue);
member this.Prompt : string * string -> string
Public Function Prompt (message As String, defaultInputValue As String) As String
Parameters
- message
- String
The message to display to the user.
- defaultInputValue
- String
The default value displayed in the text box.
Returns
A String representing the text entered by the user.
Remarks
Prompt provides a quick, easy way to obtain simple text input from the user.
Applies to
See also
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.