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 3.8.0.1082)
  • C#
  • VB
  • F#
public static void Cancel(
	Nullable<int> result
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

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

    
 Windows DirectX Desktop