次の方法で共有


DynamicSoundEffectInstance.IsLooped Property

Indicates whether the audio playback of the DynamicSoundEffectInstance object is looped.

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

Syntax

public override bool IsLooped { get; set; }

Property Value

Always returns false.

Exceptions

Exception type Condition
ObjectDisposedException The exception that is thrown if IsLooped is called after DynamicSoundEffectInstance has been disposed.
InvalidOperationException The exception that is thrown when IsLooped is set to true.

Remarks

IsLooped will always return false because DynamicSoundEffectInstance instances cannot be looped.

See Also

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone