語言

AlertDialog.Builder.Create 方法

定義

用提供給建構者的參數建立 。AlertDialog

[Android.Runtime.Register("create", "()Landroid/app/AlertDialog;", "GetCreateHandler")]
public virtual Android.App.AlertDialog Create();
[<Android.Runtime.Register("create", "()Landroid/app/AlertDialog;", "GetCreateHandler")>]
abstract member Create : unit -> Android.App.AlertDialog
override this.Create : unit -> Android.App.AlertDialog

傳回

屬性

備註

建立一個包含提供給建構器的參數的 AlertDialog。 呼叫此方法不會顯示對話框。 若不需要額外處理,則可呼叫 show() 來建立並顯示對話框。

Android 參考資料。android.app.AlertDialog.Builder.create

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於