Click or drag to resize
CCOMiReadCharsNoTerminate Method (String, Int32)
Reads characters from the COM, times out and does not terminate

Available since Oasis montaj version: 6.0.1
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntax
public int iReadCharsNoTerminate(
	ref string line,
	int size
)

Parameters

line
Type: SystemString
String for characters
size
Type: SystemInt32
Number of characters to read (string size must be +1) to silence all message reporting enter the negative value of the number of chars to read

Return Value

Type: Int32
0 - if successful 1 - if time out or error
See Also