Windows Dev Center

TriggerCollection.GetMany method

Retrieves multiple elements in a single pass through the iterator.

Syntax


public:
unsigned int GetMany(
  unsigned int startIndex, 
  Array<TriggerBase^>^ items
)

Parameters

startIndex

Type: UInt32

The index from which to start retrieval.

items (out parameter)

Type: array of TriggerBase

Provides the destination for the result. Size the initial array size as a capacity in order to specify how many results should be retrieved.

Return value

Type: UInt32

The number of items retrieved.

Remarks

Note  The equivalent Microsoft .NET API is CopyTo.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows::UI::Xaml

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows::UI::Xaml

Metadata

Windows.winmd

See also

TriggerCollection

 

 

Show:
© 2015 Microsoft