SoundEffect.CreateInstance Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Creates a new SoundEffectInstance for this SoundEffect.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in Microsoft.Xna.Framework.dll)
Syntax
'Declaration
Public Function CreateInstance As SoundEffectInstance
public SoundEffectInstance CreateInstance()
Return Value
Type: Microsoft.Xna.Framework.Audio.SoundEffectInstance
A new SoundEffectInstance for this SoundEffect.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.