SHDocVw.IWebBrowser.Refresh

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Refresh; safecall;

C++

virtual HRESULT __safecall Refresh() = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
SHDocVw.pas
SHDocVw.hpp
SHDocVw IWebBrowser

Description

Reloads the current document.

Call Refresh to reload the current document. This is useful when the Web browser is displaying the resource at an URL that may have changed.

Refresh always sends a pragma:nocache header, telling the server not to return a cached copy. This can cause problems with some servers. To prevent the pragma:nocache header, or to refresh only expired pages, use the Refresh2 method instead.

See Also