BlockCollection.GetMany(UInt32, Block[]) Метод

Определение

Извлекает несколько элементов в одном проходе через итератор.

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

Параметры

startIndex
UInt32

unsigned int

uint32_t

Индекс, с которого начинается извлечение.

items
Block[]

Предоставляет назначение для результата. Задайте размер исходного массива как "емкость", чтобы указать, сколько результатов следует извлечь.

Возвращаемое значение

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

Применяется к