共用方式為


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

適用於