AlertDialog.Builder.SetMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetMessage(ICharSequence) |
Set the message to display. |
SetMessage(Int32) |
Set the message to display using the given resource id. |
SetMessage(String) |
SetMessage(ICharSequence)
Set the message to display.
[Android.Runtime.Register("setMessage", "(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;", "GetSetMessage_Ljava_lang_CharSequence_Handler")]
public virtual Android.App.AlertDialog.Builder SetMessage (Java.Lang.ICharSequence message);
[<Android.Runtime.Register("setMessage", "(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;", "GetSetMessage_Ljava_lang_CharSequence_Handler")>]
abstract member SetMessage : Java.Lang.ICharSequence -> Android.App.AlertDialog.Builder
override this.SetMessage : Java.Lang.ICharSequence -> Android.App.AlertDialog.Builder
Parameters
- message
- ICharSequence
Returns
- Attributes
Remarks
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(Int32)
Set the message to display using the given resource id.
[Android.Runtime.Register("setMessage", "(I)Landroid/app/AlertDialog$Builder;", "GetSetMessage_IHandler")]
public virtual Android.App.AlertDialog.Builder SetMessage (int messageId);
[<Android.Runtime.Register("setMessage", "(I)Landroid/app/AlertDialog$Builder;", "GetSetMessage_IHandler")>]
abstract member SetMessage : int -> Android.App.AlertDialog.Builder
override this.SetMessage : int -> Android.App.AlertDialog.Builder
Parameters
- messageId
- Int32
Returns
- Attributes
Remarks
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)
public Android.App.AlertDialog.Builder SetMessage (string message);
member this.SetMessage : string -> Android.App.AlertDialog.Builder
Parameters
- message
- String
Returns
Remarks
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.