共用方式為


TriggerActionCollection.GetMany(UInt32, TriggerAction[]) 方法

定義

擷取單一傳遞反覆運算器中的多個元素。

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

參數

startIndex
UInt32

unsigned int

uint32_t

要從中開始擷取的索引。

items
TriggerAction[]

提供結果的目的地。 將初始陣列大小調整為 容量 ,以指定應該擷取多少結果。

傳回

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

適用於