SoundEffectInstance.IsLooped Property

Gets a value that indicates whether looping is enabled for the SoundEffectInstance.

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

Syntax

public bool IsLooped { get; }

Property Value

true if the SoundEffectInstance was played with looping enabled; false otherwise.

Remarks

IsLooped returns true if looping was enabled when the SoundEffectInstance was created (that is, SoundEffect.Play was called with true for the loop parameter).

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune