Contents Index Topic Contents | ||
Previous Topic: IHTMLOptionsHolder::put_errorLine Next Topic: IHTMLOptionsHolder::put_errorCharacter |
IHTMLOptionsHolder::get_errorLine
HRESULT get_errorLine( long *p );Retrieves the inline script associated with the onerror event on the IHTMLOptionsHolder element. This value indicates the line number that an error occurred at and is generally used to report script errors.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a VARIANT structure that contains the script.
For more information on inline script, see Attaching an Event Handler in the Understanding the Event Model documentation.
See also put_errorLine
IHTMLOptionsHolder::put_errorLine
HRESULT put_errorLine( long v );Sets the inline script associated with the onerror event on the IHTMLOptionsHolder element. This value indicates the line number that an error occurred at and is generally used to report script errors.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure that contains the script to be set.
For more information on inline script, see Attaching an Event Handler in the Understanding the Event Model documentation.
See also get_errorLine
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.