Visual Basic (Declaration) | |
---|---|
Public Overridable ReadOnly Property CanPlay As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnAudioObject Dim value As Boolean value = instance.CanPlay |
C# | |
---|---|
public virtual bool CanPlay {get;} |
Property Value
true if this AnnAudioObject can play its WAV file; false otherwise.For C#/VB examples, refer to AnnAudioObject.
(Read only) This property will determine:
- Whether the Uri value is not null (Nothing in Visual Basic) or an empty string
- Whether the Uri contains a valid path in the system
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)