Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMNode::nodeTypedVal...     IXMLDOMNode::nodeValue Pr...     IXMLDOMNode Interface    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMNode::get_nodeTypeString Method


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.



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.