assign method

Loads a new HTML document.

Syntax

HRESULT retVal = object.assign(bstr);

Parameters

  • bstr [in]
    Type: BSTR

    BSTR that specifies the URL of the document to load.

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.