AudioEngine.GetCategory Method (Microsoft.Xna.Framework.Audio)
Returns an audio category by name.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
public AudioCategory GetCategory( string name )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- name
-
Type: System.String
Friendly name of the category to get.
Return Value
Type: Microsoft.Xna.Framework.Audio.AudioCategoryThe AudioCategory with a matching name. Throws an exception if not found.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web