共用方式為


MediaControl.SoundLevel 屬性

定義

注意

mediaControl可能會在Windows 8.1之後變更或無法使用版本。 請改用 SystemMediaTransportControls

取得目前的音效等級。

public:
 static property SoundLevel SoundLevel { SoundLevel get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Media.MediaControlContract)]
static SoundLevel SoundLevel();
/// [get: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")]
static SoundLevel SoundLevel();
public static SoundLevel SoundLevel { [Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Media.MediaControlContract))] get; }
public static SoundLevel SoundLevel { [Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")] get; }
var soundLevel = MediaControl.soundLevel;
Public Shared ReadOnly Property SoundLevel As SoundLevel

屬性值

目前的音效等級。

屬性

備註

請注意,應用程式的音效等級只會系結至其轉譯資料流程的狀態,而不是系結至其擷取或回送資料流程的狀態。

適用於

另請參閱