语言

Dialog.SetCancelMessage(Message) 方法

定义

设置在取消对话框时要发送的消息。

[Android.Runtime.Register("setCancelMessage", "(Landroid/os/Message;)V", "GetSetCancelMessage_Landroid_os_Message_Handler")]
public virtual void SetCancelMessage(Android.OS.Message? msg);
[<Android.Runtime.Register("setCancelMessage", "(Landroid/os/Message;)V", "GetSetCancelMessage_Landroid_os_Message_Handler")>]
abstract member SetCancelMessage : Android.OS.Message -> unit
override this.SetCancelMessage : Android.OS.Message -> unit

参数

msg
Message

取消对话框时要发送的 msg。

特性

注解

设置在取消对话框时要发送的消息。

Android 参考。android.app.Dialog.setCancelMessage

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

另请参阅