共用方式為


MediaPlaybackAudioTrackList.GetMany(UInt32, AudioTrack[]) 方法

定義

擷取從清單中指定索引開始的音訊播放軌。

public:
 virtual unsigned int GetMany(unsigned int startIndex, Platform::Array <AudioTrack ^> ^ items) = IVectorView<AudioTrack ^>::GetMany;
uint32_t GetMany(uint32_t const& startIndex, winrt::array_view <AudioTrack const&> & items);
public uint GetMany(uint startIndex, AudioTrack[] items);
function getMany(startIndex, items)
Public Function GetMany (startIndex As UInteger, items As AudioTrack()) As UInteger

參數

startIndex
UInt32

unsigned int

uint32_t

清單中音訊播放軌開頭的以零起始的索引。

items
AudioTrack[]

清單中的 startIndex 開始的音訊播放軌。

傳回

UInt32

unsigned int

uint32_t

擷取的音訊播放軌數目。

實作

M:Windows.Foundation.Collections.IVectorView1.GetMany(System.UInt32,0[]) M:Windows.Foundation.Collections.IVectorView1.GetMany(unsigned int,0[]) M:Windows.Foundation.Collections.IVectorView1.GetMany(uint32_t,0[])

適用於