共用方式為


ISingleSelectMediaTrackList 介面

定義

表示媒體播放軌清單,允許一次選取單一專案。

public interface class ISingleSelectMediaTrackList
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1998614303, 49999, 18767, 128, 119, 43, 173, 159, 244, 236, 241)]
struct ISingleSelectMediaTrackList
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1998614303, 49999, 18767, 128, 119, 43, 173, 159, 244, 236, 241)]
public interface ISingleSelectMediaTrackList
Public Interface ISingleSelectMediaTrackList
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

SelectedIndex

取得或設定清單中目前選取的媒體播放軌。

事件

SelectedIndexChanged

SelectedIndex 屬性變更時發生。

適用於