다음을 통해 공유


go method

Loads a URL from the History list.

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