Sdílet prostřednictvím


MediaElement.AudioDeviceType Property

Definition

Gets or sets a value that describes the primary usage of the device that is being used to play back audio.

public:
 property AudioDeviceType AudioDeviceType { AudioDeviceType get(); void set(AudioDeviceType value); };
AudioDeviceType AudioDeviceType();

void AudioDeviceType(AudioDeviceType value);
public AudioDeviceType AudioDeviceType { get; set; }
var audioDeviceType = mediaElement.audioDeviceType;
mediaElement.audioDeviceType = audioDeviceType;
Public Property AudioDeviceType As AudioDeviceType
<MediaElement AudioDeviceType="audioDeviceTypeMemberName" /.

Property Value

A value of the enumeration.

Applies to