MessageBox.Cancel Method (Microsoft.Xna.Framework.Input)

Hides the message box interface and returns the parameter as the result of Show(string, string, IEnumerable<string>)

Namespace: Microsoft.Xna.Framework.Input
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public static void Cancel(
	Nullable<int> result

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Nullable<System.Int32>
Result to return
Supported in:

 Windows DirectX Desktop