LampArrayEffectPlaylist.GetMany(UInt32, ILampArrayEffect[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The number of effects returned in items.
Implements
1.GetMany(System.UInt32,
0[])
M:Windows.Foundation.Collections.IVectorView1.GetMany(unsigned int,
0[])
M:Windows.Foundation.Collections.IVectorView1.GetMany(uint32_t,
0[])
Examples
Demonstrates how to control RGB lighting of peripheral devices using the Windows.Devices.Lights and Windows.Devices.Lights.Effects APIs.
Demonstrates how to extract a single, representative color from a desktop screen and use it to illuminate LED lamps on a connected RGB device.