Share via


ItemCollection.GetMany(UInt32, Object[]) メソッド

定義

反復子を 1 回のパスで複数の要素を取得します。

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

パラメーター

startIndex
UInt32

unsigned int

uint32_t

取得を開始するインデックス。

items

Object[]

Platform::Object[]

IInspectable[]

結果の変換先を提供します。 取得する必要がある結果の数を指定するために、最初の配列サイズを "容量" としてサイズ設定します。

戻り値

UInt32

unsigned int

uint32_t

取得した項目数。

実装

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

適用対象