Microsoft XML 2.5 SDK


 

IXMLDOMNode::get_nodeTypeString Method

[This is preliminary documentation and subject to change.]

Returns the node type in string form.

Visual Basic Syntax

strValue = oXMLDOMNode.nodeTypeString

C/C++ Syntax

HRESULT get_nodeTypeString(

    BSTR *nodeType);

Parameters

nodeType

[out]
String version of the node type.

C/C++ Return Values

S_OK

Value returned if successful.

E_INVALIDARG

Value returned if nodeTypeis null.

Remarks

This value depends on the value of the nodeType property.

NODE_ATTRIBUTE

attribute

NODE_CDATA_SECTION

cdatasection

NODE_COMMENT

comment

NODE_DOCUMENT

document

NODE_DOCUMENT_FRAGMENT

documentfragment

NODE_DOCUMENT_TYPE

documenttype

NODE_ELEMENT

element

NODE_ENTITY

entity

NODE_ENTITY_REFERENCE

entityreference

NODE_NOTATION

notation

NODE_PROCESSING_INSTRUCTION

processinginstruction

NODE_TEXT

text

This member is an extension of the W3C DOM.