共用方式為


PlayToSourceSelectedEventArgs.SupportsAudio 屬性

定義

取得值,這個值表示選取的 [播放到來源] 是否支援音訊。

public:
 property bool SupportsAudio { bool get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToSourceSelectedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
bool SupportsAudio();
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToSourceSelectedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
bool SupportsAudio();
public bool SupportsAudio { [Windows.Foundation.Metadata.Deprecated("PlayToSourceSelectedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public bool SupportsAudio { [Windows.Foundation.Metadata.Deprecated("PlayToSourceSelectedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = playToSourceSelectedEventArgs.supportsAudio;
Public ReadOnly Property SupportsAudio As Boolean

屬性值

Boolean

bool

如果選取的 [播放到來源] 支援音訊,則為 True;否則為 false。

屬性

適用於

另請參閱