共用方式為


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

屬性值

音訊裝置類型。

適用於