This topic has not yet been rated - Rate this topic

go method

Loads a URL from the History list.

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

Syntax


HRESULT retVal = object.go(pvargdistance);

Parameters

pvargdistance [in]

Type: VARIANT

Pointer to a VARIANT that specifies an integer or a string. An integer indicates the relative position of a URL in the History list. A string indicates an exact URL in the History list.

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

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

See also

Reference
IOmHistory::back
IOmHistory::forward

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.