Vector::GetMany Method

Retrieves a sequence of items from the current Vector, starting at the specified index, and copies them into the caller-allocated array.

virtual unsigned int GetMany(
   unsigned int startIndex, 
   ::Platform::WriteOnlyArray<T>^ dest
);

startIndex

The zero-based index of the start of the items to retrieve.

dest

A caller-allocated array of items that begin at the element specified by startIndex and end at the last element in the Vector.

The number of items retrieved.

This function is not intended for use directly by client code. It is used internally in the to_vector Function to enable efficient conversion of Platform::Vector intances to std::vector instances.

Header: collection.h

Namespace: Platform::Collections

Show:
© 2014 Microsoft