| Visual Basic (Declaration) | |
|---|---|
Public Overridable Property FileName As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual string FileName {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property virtual string* get_FileName(); public: __property virtual void set_FileName( string* value ); | |
Return Value
A string value that specifies the WAV file name of this AnnAudioObject.For an example, refer to AnnAudioObject
Use the CanPlay method to determine if this AnnAudioObject has a value WAV audio file in the FileName property.
Use the Play method to play the WAV audio file strored in the FileName property.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family