DicomObjects Reference
DicomObjects Reference / DicomGlobal Object / ErrorString Method
The error code to look up
ErrorString Method
Description
Retrieve error string for a particular error code
Syntax
Visual Basic
Public Function ErrorString( _
   ByVal ID As Long _
) As String
Parameters
ID
The error code to look up
Remarks
DicomObjects allows error codes to be localised, and this method is suitable for developers wishing to check that error messages are suitable in their language.
If you wish to add a new language to DicomObjects error codes, please contact Medical Connections.
The string returned may contain standard “C” formatting codes used to insert text or numbers.
See Also