TristatePort.Active Property
Gets or sets the current state of a particular tristate port — that is, active or inactive.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
public bool Active { get; set; }
Property Value
true if the tristate port is currently an output port; otherwise, false.
Remarks
A pin is considered "active" when it is an output pin. It is an input pin when it is in the "inactive" state. Your application can use the TristatePort class to control and monitor whether a particular GPIO pin is currently an input pin or an output pin.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.
See Also
Reference
TristatePort Class
TristatePort Members
Microsoft.SPOT.Hardware Namespace