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[])

适用于