This topic has not yet been rated - Rate this topic

back method

Loads a previous URL from the History list.

This method is not supported for Windows Store apps built for Windows using JavaScript.

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

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.