![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic int iReadCharsNoTerminate(
ref string line,
int size
)
Public Function iReadCharsNoTerminate (
ByRef line As String,
size As Integer
) As Integer
public:
int iReadCharsNoTerminate(
String^% line,
int size
)
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