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

適用於