AudioEngine.GetCategory Method

Gets an audio category.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public AudioCategory GetCategory (
         string name
)

Parameters

name
Type: String
Friendly name of the category to get.

Return Value

Audio category.

Exception typeCondition
InvalidOperationExceptionThis resource could not be created.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: