ICommunicationLayer..::..GetChar Method (Byte%, Int32)
Get the next character from the receiving stream.
Namespace:
CAS.Lib.CommonBus.CommunicationLayerAssembly: CommServer.CommonBus (in CommServer.CommonBus.dll)
Syntax
TGetCharRes GetChar( out byte lastChr, int millisecondsTimeout )
Function GetChar ( _ <OutAttribute> ByRef lastChr As Byte, _ millisecondsTimeout As Integer _ ) As TGetCharRes
TGetCharRes^ GetChar( [OutAttribute] unsigned char^% lastChr, int^ millisecondsTimeout )
Parameters
- lastChr
- Type: Byte%
The character or 0 if timeout
- millisecondsTimeout
- Type: Int32
The number of milliseconds to wait for the character.