SetterBaseCollection.GetMany(UInt32, SetterBase[]) Метод

Определение

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

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

Параметры

startIndex
UInt32

unsigned int

uint32_t

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

items
SetterBase[]

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

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

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

Комментарии

Примечание

Эквивалент api Microsoft .NET — CopyTo.

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

См. также раздел