FilePickerSelectedFilesArray.GetMany(UInt32, StorageFile[]) 方法

定义

检索从集合中的指定索引处开始的 StorageFile 对象。

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

参数

startIndex
UInt32

unsigned int

uint32_t

集合中要返回的对象开头的从零开始的索引。

items
StorageFile[]

集合中从 startIndex 开始的项。

返回

UInt32

unsigned int

uint32_t

返回的项数。

实现

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

适用于