Partager via


clearTimeout method

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

Syntax

HRESULT retVal = object.clearTimeout(timerID);

Parameters

  • timerID [in]
    Type: long

    long that specifies the time-out setting returned by a previous call to the IHTMLWindow2::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.