Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Play() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void Play() |
C++/CLI | |
---|---|
public: virtual void Play(); |
For C#/VB examples, refer to AnnAudioObject.
This method will call CanPlay first to verify that it can play the WAV file. If the return value from CanPlay is false this method will do nothing.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family