DeviceInformationCollection.GetMany(UInt32, DeviceInformation[]) 方法

定义

获取 DeviceInformation 对象的范围。

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

参数

startIndex
UInt32

unsigned int

uint32_t

开始检索 DeviceInformation 对象的索引。

items
DeviceInformation[]

DeviceInformation 对象的数组,从 startIndex 指定的索引处开始。

返回

UInt32

unsigned int

uint32_t

返回的 DeviceInformation 对象数。

实现

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

适用于