IWindow.Prompt method

Displays a modal text field prompt with the given message, waits for the user to dismiss it, and returns the value that the user entered. If the user cancels the prompt, then returns null instead. If the second argument is present, then the given value is used as a default.

public string Prompt(string message, string @default)
Parameter Type Description
message String The message.
default String The default.

Return Value

Returns the value that the user entered

See Also