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
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