Page.DisplayPromptAsync Метод

Определение

Перегрузки

DisplayPromptAsync(String, String, String, String, String, Int32, Keyboard)
Устаревшие..
DisplayPromptAsync(String, String, String, String, String, Int32, Keyboard, String)

DisplayPromptAsync(String, String, String, String, String, Int32, Keyboard)

Внимание!

DisplayPromptAsync overload is obsolete as of version 4.5.0 and is no longer supported.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("DisplayPromptAsync overload is obsolete as of version 4.5.0 and is no longer supported.")]
public System.Threading.Tasks.Task<string> DisplayPromptAsync (string title, string message, string accept, string cancel, string placeholder, int maxLength, Xamarin.Forms.Keyboard keyboard);
member this.DisplayPromptAsync : string * string * string * string * string * int * Xamarin.Forms.Keyboard -> System.Threading.Tasks.Task<string>

Параметры

title
System.String
message
System.String
accept
System.String
cancel
System.String
placeholder
System.String
maxLength
System.Int32
keyboard
Keyboard

Возвращаемое значение

System.Threading.Tasks.Task<System.String>
Атрибуты
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Применяется к

DisplayPromptAsync(String, String, String, String, String, Int32, Keyboard, String)

public System.Threading.Tasks.Task<string> DisplayPromptAsync (string title, string message, string accept = "OK", string cancel = "Cancel", string placeholder = default, int maxLength = -1, Xamarin.Forms.Keyboard keyboard = default, string initialValue = "");
member this.DisplayPromptAsync : string * string * string * string * string * int * Xamarin.Forms.Keyboard * string -> System.Threading.Tasks.Task<string>

Параметры

title
System.String
message
System.String
accept
System.String
cancel
System.String
placeholder
System.String
maxLength
System.Int32
keyboard
Keyboard
initialValue
System.String

Возвращаемое значение

System.Threading.Tasks.Task<System.String>

Применяется к