Microsoft SDK for Java

Refresh2

This method of the WebBrowser class reloads the file that Microsoft® Internet Explorer is currently displaying. Unlike IWebBrowser2::Refresh, this method contains a parameter that specifies the refresh level.

Syntax

public synchronized void Refresh2(com.ms.com.Variant Level);

Parameters

Level Optional. An optional value that specifies the refresh level. It can be one of the following constants or values:

REFRESH_NORMAL 0

Perform a lightweight refresh that does not include sending the HTTP "pragma:nocache" header to the server. 

REFRESH_IFEXPIRED 1

Perform a lightweight refresh if the page has expired.

REFRESH_COMPLETELY 3

Perform a full refresh that includes sending a "pragma:nocache" header to the server (HTTP URLs only). 


© 1999 Microsoft Corporation. All rights reserved. Terms of use.