IShellView::Refresh method (shobjidl_core.h)

Refreshes the view's contents in response to user input.

Syntax

HRESULT Refresh();

Return value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error value otherwise.

Remarks

Tells the view to refresh its contents, revalidating any view information it has.

Note to Calling Applications

Windows Explorer calls this method when the F5 key is pressed on an already open view.

Notes to Implementers

Refill the view by going to any underlying storage for the contents.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.0 or later)

See also

IShellView