共用方式為


IDialogInterfaceOnDismissListener.OnDismiss(IDialogInterface) 方法

定義

關閉對話框時,將會叫用這個方法。

[Android.Runtime.Register("onDismiss", "(Landroid/content/DialogInterface;)V", "GetOnDismiss_Landroid_content_DialogInterface_Handler:Android.Content.IDialogInterfaceOnDismissListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnDismiss (Android.Content.IDialogInterface? dialog);
[<Android.Runtime.Register("onDismiss", "(Landroid/content/DialogInterface;)V", "GetOnDismiss_Landroid_content_DialogInterface_Handler:Android.Content.IDialogInterfaceOnDismissListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnDismiss : Android.Content.IDialogInterface -> unit

參數

dialog
IDialogInterface

關閉的對話框將會傳遞至 方法

屬性

備註

關閉對話框時,將會叫用這個方法。

android.content.DialogInterface.OnDismissListener.onDismiss(android.content.DialogInterface)Java 檔。

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

適用於