IHTMLDOMTextNode::data Property

Sets or gets the value of a TextNode object.

Syntax

HRESULT IHTMLDOMTextNode::get_data(BSTR *p);
HRESULT IHTMLDOMTextNode::put_data(BSTR v);

Parameters

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

Return Value

Returns S_OK if successful, or an error value otherwise.