HtmlWindow.Prompt(String, String) 메서드

정의

사용자에게 메시지와 텍스트 상자를 표시하는 대화 상자를 보여 줍니다.

public:
 System::String ^ Prompt(System::String ^ message, System::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

매개 변수

message
String

사용자에게 표시할 메시지입니다.

defaultInputValue
String

텍스트 상자에 표시할 기본값입니다.

반환

String

사용자가 입력한 텍스트를 나타내는 String입니다.

설명

Prompt 는 사용자로부터 간단한 텍스트 입력을 가져오는 빠르고 쉬운 방법을 제공합니다.

적용 대상

추가 정보