 | 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
Syntaxpublic int iReadCharsNoTerminate(
ref string line,
int size
)
public int iReadCharsNoTerminate(
ref string line,
int size
)
Public Function iReadCharsNoTerminate (
ByRef line As String,
size As Integer
) As Integer
Public Function iReadCharsNoTerminate (
ByRef line As String,
size As Integer
) As Integer
public:
int iReadCharsNoTerminate(
String^% line,
int size
)
public:
int iReadCharsNoTerminate(
String^% line,
int size
)
member iReadCharsNoTerminate :
line : string byref *
size : int -> int
member iReadCharsNoTerminate :
line : string byref *
size : int -> int
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