Edit

Share via


MediaPlayer.HasAudio Property

Definition

Gets a value that indicating whether the media has audio output.

public:
 property bool HasAudio { bool get(); };
public bool HasAudio { get; }
member this.HasAudio : bool
Public ReadOnly Property HasAudio As Boolean

Property Value

true if the media has audio output; otherwise, false.

Applies to