Language

AlertDialog.SetMessage Method

Definition

Overloads

Name Description
SetMessage(ICharSequence)

Sets the dialog's message text through its alert controller.

SetMessage(String)

Sets the dialog's message from a managed string.

SetMessage(ICharSequence)

Sets the dialog's message text through its alert controller.

[Android.Runtime.Register("setMessage", "(Ljava/lang/CharSequence;)V", "GetSetMessage_Ljava_lang_CharSequence_Handler")]
public virtual void SetMessage(Java.Lang.ICharSequence? message);
[<Android.Runtime.Register("setMessage", "(Ljava/lang/CharSequence;)V", "GetSetMessage_Ljava_lang_CharSequence_Handler")>]
abstract member SetMessage : Java.Lang.ICharSequence -> unit
override this.SetMessage : Java.Lang.ICharSequence -> unit

Parameters

message
ICharSequence

CharSequence

Attributes

Remarks

Android reference for android.app.AlertDialog.setMessage.

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

SetMessage(String)

Sets the dialog's message from a managed string.

public void SetMessage(string? message);
member this.SetMessage : string -> unit

Parameters

message
String

CharSequence

Remarks

Android reference for android.app.AlertDialog.setMessage.

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