The digital output indexer list. This gets or sets the state of a digital output at the supplied index in the list.

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

Syntax

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

Parameters

index
Type: System..::.Int32
Index of the output.

Return Value

The state of the output.

Remarks

True indicates activated, False deactivated, which is the default.

Exceptions

ExceptionCondition
Phidgets..::.PhidgetExceptionIf this Phidget is not opened and attached, of the index is out of range.

See Also