共用方式為


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.app.AlertDialog.Builder.create()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於