Share via


AlertArguments.SetResult(Boolean) Method

Definition

Sets the result of the alert dialog interaction.

public:
 void SetResult(bool result);
public void SetResult(bool result);
member this.SetResult : bool -> unit
Public Sub SetResult (result As Boolean)

Parameters

result
Boolean

True if the user selected the accept button, false if they selected cancel or dismissed the dialog.

Remarks

For internal use only. This API can be changed or removed without notice at any time.

Applies to