Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Play() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void Play() |
C++/CLI | |
---|---|
public: virtual void Play(); |
For an example 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 Server 2003 family, Windows Server 2008 family