IHTMLObjectElement::data Property

Gets the URL that references the data of the object.

Syntax

HRESULT IHTMLObjectElement::get_data(BSTR *p);

Parameters

  • p
    Pointer to a variable of type BSTR that receives the URL of the data.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

In Microsoft Internet Explorer 6 and greater, this property applies to the comment object.

See Also

IHTMLObjectElement::type, About the W3C Document Object Model