PlayToSourceSelectedEventArgs.SupportsAudio 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,這個值表示選取的 [播放到來源] 是否支援音訊。
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。
- 屬性