Cue.Play Method (Microsoft.Xna.Framework.Audio)

Requests playback of a prepared or preparing Cue.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void Play()

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Calling Play when the Cue already is playing can result in an InvalidOperationException.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web