Delen via


IUriBuilder::SetIUri method

Sets the current IUri.

Syntax

HRESULT SetIUri(
  [in] IUri *pIUri
);

Parameters

  • pIUri [in]
    Pointer to an existing IUri interface.

Return value

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

Remarks

SetIUri was introduced in Windows Internet Explorer 7.

Setting the current IUri invalidates all properties.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IUriBuilder

Reference

CreateUri

GetIUri