Visual Basic (Declaration) | |
---|---|
Public Overridable ReadOnly Property CanPlay As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual bool CanPlay {get;} |
Return Value
true if this AnnAudioObject can play its WAV file; false otherwise.For an example refer to AnnAudioObject.
(Read only) This property will determine:
Whether the FileName value is not null (Nothing in Visual Basic) or an empty string Whether the FileName contains a valid path in the system
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family