Share via


reload method

Reloads the current document.

Syntax

HRESULT retVal = object.reload(flag);

Parameters

flag [in, optional]

Type: VARIANT_BOOL

VARIANT_BOOL that specifies one of the following possible values:

VARIANT_FALSE (false)

Default. Reloads the document from the cache.

VARIANT_TRUE (true)

Reloads the document from the server.

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.