共用方式為


IWebBrowser2::Refresh2 Method

Reloads the file that is currently displayed with the specified refresh level.

Syntax

HRESULT Refresh2(
    VARIANT *Level
);

Parameters

  • Level
    [in] A pointer to a VARIANT of type VT_I4 or VT_I2 that specifies one of the RefreshConstants enumeration values.

Return Value

Returns S_OK if successful, or E_FAIL otherwise.

See Also

IWebBrowser2::Refresh