IHTMLWindow2::setIntervalIHTMLWindow2::setInterval*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLWindow2::scrollTo
*Next Topic: IHTMLWindow2::setTimeout

IHTMLWindow2::setInterval


HRESULT setInterval(
    BSTR expression,
    long msec,
    VARIANT *language,
    long *timerID
);

Calls a function repeatedly, or evaluates an expression after a specified number of milliseconds has elapsed.

expression
String specifying the code to be executed repeatedly at the specified interval.
msec
Numeric value or numeric string specifying the time-out interval, in milliseconds.
language
String specifying the language that the code is executed in.
timerID
Address of a variable that receives a time-out identifier. This identifier is used only to cancel the evaluation with the clearInterval method.

See also clearInterval


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