SoundBank.IsInUse Property

Returns whether the sound bank is currently in use.

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

public bool IsInUse { get; }

Property Value

true if the sound bank is in use; false otherwise.

This value will return true if the sound bank is currently referenced by at least one valid cue instance or other client. For example, the game itself might reference the sound bank.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: