| Visual Basic (Declaration) | |
|---|---|
Public Property FileName As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public string FileName {get; set;} | |
| XAML Attributes Usage | |
|---|---|
<object FileName=string .../> | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | None |
| XAML Attributes Usage | |
|---|---|
<object FileName=string .../> | |
| Dependencies Property Information | |
|---|---|
Identifier field | |
Metadata properties set to true | None |
Return Value
A string value that specifies the WAV file name of this AnnAudioObject.For C#/VB examples, 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 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
Copy Code