Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Creates a new text node and returns the IHTMLDOMNode pointer.
Syntax
HRESULT createTextNode( BSTR text, IHTMLDOMNode** newTextNode );
Parameters
- text
- String (BSTR) value specifiying the text of the new node.
- newTextNode
- Address of a pointer to the IHTMLDOMNode interface of the newly created text node.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This method always returns S_OK; check the rootElem returned. If null is returned, the method has failed to create a new text node.
See Also
IHTMLDOMNode Interface
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.