IHTMLScriptElement::text Property

Retrieves or sets the text of the object as a string.

Syntax

HRESULT IHTMLScriptElement::get_text(BSTR *p);
HRESULT IHTMLScriptElement::put_text(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives the text.
  • v
    BSTR that specifies the text.

Return Value

Returns S_OK if successful, or an error value otherwise.