Retrieves the data associated with the document object model (DOM) text node.
Syntax
HRESULT get_data(
BSTR *p
);
Parameters
- p
- Address of a string (BSTR) structure that returns the text node's data.
Return Value
Returns S_OK if successful, or an error code otherwise.
Sets the data associated with the document object model (DOM) text node.
Syntax
HRESULT put_data(
BSTR v
);
Parameters
- v
- String (BSTR) that contains the data for the text node to set.
Return Value
Returns S_OK if successful, or an error code otherwise.