Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

clearTimeout method

Cancels a time-out that was set with the setTimeout method.

Syntax

var retval = window.clearTimeout(timerID);

Parameters

timerID [in]

Type: Integer

Integer that specifies the time-out setting returned by a previous call to the setTimeout method.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

See also

window

 

 

Show:
© 2017 Microsoft