UIElementCollection.GetMany(UInt32, UIElement[]) メソッド

定義

反復子を通過する 1 つのパス内の複数の要素を取得します。

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

パラメーター

startIndex
UInt32

unsigned int

uint32_t

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

items
UIElement[]

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

戻り値

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

注釈

C# または Microsoft Visual Basic を使用してプログラミングする場合は、「 CopyTo」を参照してください。

適用対象