Click or drag to resize

CCOMiReadCharsNoTerminate Method (String, Int32)

Reads characters from the COM, times out and does not terminate

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

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