Share via


LampArrayEffectPlaylist.GetMany(UInt32, ILampArrayEffect[]) Method

Definition

Retrieves a range of lamp array effects, beginning at the specified index within a playlist.

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

Parameters

startIndex
UInt32

unsigned int

uint32_t

The zero-based index of the first lamp array effect to retrieve.

items
ILampArrayEffect[]

An array of ILampArrayEffect, which the method will update with the requested effects.

Returns

UInt32

unsigned int

uint32_t

The number of effects returned in items.

Implements

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

Examples

LampArray sample

Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.

AutoRGB Sample

Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.

Applies to

See also