ExportAsHTML method

**This method is obsolete in V. 7.2.**

The content of the item is exported as HTML and returned in the BSTR.

Syntax


C++
HRESULT ExportAsHTML(
   BSTR* pRetVal)
Scripting languages
String = Object.ExportAsHTML()

Parameters


RetVal

Upon return, the BSTR contains the content of the item in HTML format.

Return value


C++

The return code.

Scripting languages

Upon return, the BSTR contains the content of the item in HTML format.

Remarks


  • The content of an item includes the title, creator, creation date, the embedded topic if one exists, and any description that exists on the item.

  • The exported HTML will not include any embedded graphics in the rich text or any attachments on the item.

  • Home

    Applies to

    IERUItem