IWindow.Prompt

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)
ParameterTypeDescription
messageStringThe message.
defaultStringThe default.

Return Value

Returns the value that the user entered

See Also