Receive exactly the given number of characters from the ASCOM serial port and return as a string

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
string ReceiveCounted(
	int Count
)
Visual Basic
Function ReceiveCounted ( _
	Count As Integer _
) As String
Visual C++
String^ ReceiveCounted(
	int Count
)

Parameters

Count
Type: System..::..Int32
The number of characters to return

Return Value

String of length "Count" characters

Remarks

If a timeout occurs a TimeoutException is raised.

See Also