Partager via


GetPendingUrl method

Deprecated. Gets the URL for the currently pending navigation, or the current URL if no navigation is pending.

Syntax

HRESULT retVal = object.GetPendingUrl(pbstrPendingUrl);

Parameters

  • pbstrPendingUrl [out]
    Type: BSTR

    On success, receives a pointer to the pending URL as a string.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

IDocObjectService::GetPendingUrl was introduced in Microsoft Internet Explorer 6.