Jaa


LampArray.GetLampInfo(Int32) Method

Definition

Fetches the LampInfo corresponding to the lamp index.

public:
 virtual LampInfo ^ GetLampInfo(int lampIndex) = GetLampInfo;
LampInfo GetLampInfo(int const& lampIndex);
public LampInfo GetLampInfo(int lampIndex);
function getLampInfo(lampIndex)
Public Function GetLampInfo (lampIndex As Integer) As LampInfo

Parameters

lampIndex
Int32

int

The index. Must be between 0 and LampCount - 1.

Returns

The LampInfo corresponding to lampIndex.

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.

Remarks

The LampInfo contains properties about a lamp of a given index.

Applies to

See also