Click to return to the Reusing Browser Technology home page    
IHTMLDOMTextNode::toStrin...     IHTMLDOMTextNode Interfac...    
Web Workshop  |  Reusing Browser Technology

IHTMLDONTextNode::get_data Method


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.

IHTMLDONTextNode::put_data Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.