Export (0) Print
Expand All

MediaPlayer.HasAudio Property

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

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public bool HasAudio { get; }

Property Value

Type: System.Boolean
true if the media has audio output; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft