Bagikan melalui


PathSegmentCollection.GetMany(UInt32, PathSegment[]) Metode

Definisi

Mengambil beberapa elemen dalam satu pass melalui iterator.

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

Parameter

startIndex
UInt32

unsigned int

uint32_t

Indeks untuk memulai pengambilan.

items
PathSegment[]

Menyediakan tujuan untuk hasilnya. Ukuran ukuran array awal sebagai "kapasitas" untuk menentukan berapa banyak hasil yang harus diambil.

Mengembalikan

UInt32

unsigned int

uint32_t

Jumlah item yang diambil.

Penerapan

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

Berlaku untuk