DiagParam object

AutoCAD Map 3D ActiveX

DiagParam object

Provides diagnostic information about an error.

Created by calling Error.Add.

A member of the ErrorEntry collection.

Properties include the ID of the object that caused the error, an error description, and if SQL processing was involved, the SQL statement, and location of the error within the statement.

To use this object, determine if the last error code is a kMapError. If so, retrieve the errors from the error stack to obtain diagnostic information represented by DiagParam.