DependencyObjectCollection.GetMany(UInt32, DependencyObject[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves multiple elements in a single pass through the iterator.
public:
virtual unsigned int GetMany(unsigned int startIndex, Platform::Array <DependencyObject ^> ^ items) = IVector<DependencyObject ^>::GetMany;
uint32_t GetMany(uint32_t const& startIndex, winrt::array_view <DependencyObject const&> & items);
public uint GetMany(uint startIndex, DependencyObject[] items);
function getMany(startIndex, items)
Public Function GetMany (startIndex As UInteger, items As DependencyObject()) As UInteger
Parameters
- startIndex
-
UInt32
unsigned int
uint32_t
The index from which to start retrieval.
- items
- DependencyObject[]
Provides the destination for the result. Size the initial array size as a capacity in order to specify how many results should be retrieved.
Returns
The number of items returned.
Implements
M:Windows.Foundation.Collections.IVector
1.GetMany(System.UInt32,
0[])
M:Windows.Foundation.Collections.IVector1.GetMany(unsigned int,
0[])
M:Windows.Foundation.Collections.IVector1.GetMany(uint32_t,
0[])
Remarks
Note
The equivalent Microsoft .NET API is CopyTo
.