Microsoft XML 2.5 SDK


 

IXMLDOMNode::get_text Method

[This is preliminary documentation and subject to change.]

Contains the text content of the node and its subtrees.

Visual Basic Syntax

strValue = oXMLDOMNode.text

C/C++ Syntax

HRESULT get_text(

    BSTR *text);

Parameters

text

[out]
String representing the text content of this node and its descendants. This value varies depending on the value of the nodeType property (see below).

C/C++ Return Values

S_OK

Value returned if successful.

S_FALSE

Value when returning null. 

E_INVALIDARG

Value returned if textis null.

See Also

White space handling