Click to return to the Reusing Browser Technology home page    
IHTMLOptionsHolder::get_e...     IHTMLOptionsHolder::get_e...     IHTMLOptionsHolder Interf...    
Web Workshop  |  Reusing Browser Technology

IHTMLOptionsHolder::get_errorLine Method


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

IHTMLOptionsHolder::put_errorLine Method


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.