共用方式為


Dialog.SetCancelMessage(Message) Method

Definition

Set a message to be sent when the dialog is canceled.

[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

Parameters

msg
Message

The msg to send when the dialog is canceled.

Attributes

Remarks

Set a message to be sent when the dialog is canceled.

Java documentation for android.app.Dialog.setCancelMessage(android.os.Message).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also