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

IHTMLScriptElement::get_defer Method


Retrieves the value that indicates whether this script's execution is deferred until the document completes loading.

Syntax

HRESULT get_defer(
    VARIANT_BOOL *p 
);

Parameters

p
Address of a VARIANT Boolean structure that receives VARIANT_TRUE if the script execution is deferred, or VARIANT_FALSE otherwise.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLScriptElement::put_defer Method


Sets the value that indicates whether this script's execution is deferred until the document completes loading.

Syntax

HRESULT put_defer( 
    VARIANT_BOOL v 
);

Parameters

v
VARIANT Boolean structure that specifies whether the script's execution is deferred until after the document has completed loading. If VARIANT_TRUE, the script execution is deferred; otherwise, the script will execute.

Return Value

Returns S_OK if successful, or an error code otherwise.

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.