Read Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Reads a Boolean value at the port input.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Function Read As Boolean
public bool Read()
public:
bool Read()
member Read : unit -> bool 
public function Read() : boolean

Return Value

Type: System. . :: . .Boolean
The current value of the port.

.NET Framework Security

See Also

Reference

Port Class

Microsoft.SPOT.Hardware Namespace