IHTMLElementDefaults::viewLink Property

Sets or retrieves the document object that supplies content to the master element.

Syntax

HRESULT IHTMLElementDefaults::get_viewLink(IHTMLDocument **p);
HRESULT IHTMLElementDefaults::putref_viewLink(IHTMLDocument *v);

Parameters

  • p
    Address of a pointer to a variable of type IHTMLDocument interface that receives a reference to the document object.
  • v
    Pointer to a variable of type IHTMLDocument interface that specifies a reference to the document object.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

Introduction to Viewlink, About Element Behaviors