Click or drag to resize

XMLDocGetErrorList Function

X#
Get array of error descriptions.

Namespace:  XSharp.XPP
Assembly:  XSharp.XPP (in XSharp.XPP.dll) Version: 2.21
Syntax
 FUNCTION XMLDocGetErrorList(
	 nDocHandle AS INT64,
	 nErrHandle AS INT64
) AS ARRAY
Request Example View Source

Parameters

nDocHandle
Type: Int64
Numeric handle of an XML document. Use this handle if a valid document handle was returned by an doc open function.
nErrHandle
Type: Int64
Numeric error handle returned XMLOpenDocFile() or XMLOpenDocString(). Use this handle to retrieve errors produced by an open function, where an invalid document handle was returned.

Return Value

Type: Array
Returns a two-dimensional array holding error information, or NULL_ARRAY if no error occurred.
Remarks