The LED indexer list. This gets or sets the brightness level of an LED at the supplied index in the colleciton list.

Namespace:  Phidgets
Assembly:  Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34

Syntax

C#
public int this[
	int index
] { get; set; }
Visual Basic (Declaration)
Public Default Property Item ( _
	index As Integer _
) As Integer
Visual C++
public:
property int default[int index] {
	int get (int index);
	void set (int index, int value);
}

Parameters

index
Type: System..::.Int32
The LED index.

Return Value

The current brightness level of the LED at the supplied index. Brightness levels range from 0-100.

Remarks

Brightness levels range from 0-100.

Exceptions

ExceptionCondition
Phidgets..::.PhidgetExceptionIf this Phidget is not opened and attached, or if the index of brightness value are out of range.

See Also