IHTMLEventObj2::bookmarks Property

Sets or retrieves a collection of bookmarks affected by the current event.

Syntax

HRESULT IHTMLEventObj2::get_bookmarks(IHTMLBookmarkCollection **p);
HRESULT IHTMLEventObj2::put_bookmarks(IHTMLBookmarkCollection *v);

Parameters

  • p
    Address of a pointer to a variable of type IHTMLBookmarkCollection interface that receives the collection of bookmarks.
  • v
    Pointer to a variable of type IHTMLBookmarkCollection interface that specifies the collection of bookmarks.

Return Value

Returns S_OK if successful, or an error value otherwise.