다음을 통해 공유


back method

Loads a previous URL from the History list.

Syntax

HRESULT retVal = object.back(pvargdistance);

Parameters

  • pvargdistance [in, optional]
    Type: VARIANT

    Pointer to a VARIANT that specifies the number of URLs to go back. If no value is provided, the previous URL is loaded.

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.

Remarks

This method performs the same action as a user clicking the Back button in the browser.

An error does not occur if the user tries to go beyond the beginning of the history. Instead, the user remains at the current page.

See also

Reference

IOmHistory::forward

IOmHistory::go