TriggerCollection.GetMany(UInt32, TriggerBase[]) 方法

定义

通过迭代器在一次传递中检索多个元素。

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

参数

startIndex
UInt32

unsigned int

uint32_t

从中开始检索的索引。

items
TriggerBase[]

提供结果的目标。 将初始数组大小调整为 容量 ,以指定应检索的结果数。

返回

UInt32

unsigned int

uint32_t

已检索的项的数量。

实现

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

注解

注意

等效的 Microsoft .NET API 是 CopyTo

适用于