Share via


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)

Syntax

public bool IsInUse { get; }

Property Value

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

Remarks

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.

See Also

Reference

SoundBank Class
SoundBank Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP