IHTMLOptionsHolder::get_errorLineIHTMLOptionsHolder::get_errorLine*
*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.

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

Up Top of Page


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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.