Udostępnij za pośrednictwem


DeviceInformationCollection.GetMany(UInt32, DeviceInformation[]) Method

Definition

Gets a range of DeviceInformation objects.

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

Parameters

startIndex
UInt32

unsigned int

uint32_t

The index at which to start retrieving DeviceInformation objects.

items
DeviceInformation[]

The array of DeviceInformation objects starting at the index specified by startIndex.

Returns

UInt32

unsigned int

uint32_t

The number of DeviceInformation objects returned.

Implements

M:Windows.Foundation.Collections.IVectorView1.GetMany(System.UInt32,0[]) M:Windows.Foundation.Collections.IVectorView1.GetMany(unsigned int,0[]) M:Windows.Foundation.Collections.IVectorView1.GetMany(uint32_t,0[])

Applies to