Retrieves a pointer to the event handler function associated with the onerror event on the IHTMLOptionsHolder element.
Syntax
HRESULT get_errorLine( long *p );
Parameters
- p
- Address of a long variable that contains the script. This value indicates the line number on which an error occurred, and is generally used to report script errors.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
For more information about inline script, see the Attaching an Event Handler section in the Understanding the Event Model article.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets a pointer to the event handler function associated with the onerror event on the IHTMLOptionsHolder element.
Syntax
HRESULT put_errorLine( long v );
Parameters
- v
- Long value that contains the script to set. This value indicates the line number on which an error occurred, and is generally used to report script errors.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
For more information about inline script, see the Attaching an Event Handler section in the Understanding the Event Model article.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0