MediaPlayer.AudioDeviceType 属性

定义

获取或设置一个值,该值描述用于播放音频的设备的主要用途。

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

void AudioDeviceType(MediaPlayerAudioDeviceType value);
public MediaPlayerAudioDeviceType AudioDeviceType { get; set; }
var mediaPlayerAudioDeviceType = mediaPlayer.audioDeviceType;
mediaPlayer.audioDeviceType = mediaPlayerAudioDeviceType;
Public Property AudioDeviceType As MediaPlayerAudioDeviceType

属性值

音频设备类型。

适用于