[This is preliminary documentation and subject to change.]
The ErrorCount property contains a count of the syntax errors in the enhancement stream. It counts the syntax errors discovered in the last call to EnhEvents.Load or EnhEvents.AddText. This property is read-only.
[ lCount = ] object.ErrorCount
The EnhEvents.ErrorList property contains an array of strings that describe the syntax errors. The error information includes the line number that contains the syntax error. The line number specifies the line in the enhancement stream file loaded by EnhEvents.Load.
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in stream.idl.
Import Library: Included as a resource in stream.dll.
Unicode: Yes.
The following example displays a message box indicating the number of syntax errors currently in the enhancement stream.
Msgbox "Number of syntax errors:"+CStr(evs.ErrorCount)