Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

nodeType property

[This documentation is preliminary and is subject to change.]

Retrieves the type of the requested node.


HRESULT value = object.get_nodeType(* p);

Property values

Type: long


Element node.


Text node.

Standards information


If the node represents an attribute retrieved from the attributes collection, the IHTMLDOMNode::nodeType returns null.

Starting in Microsoft Internet Explorer 6, this property applies to the attribute object.

See also

About the W3C Document Object Model



Build date: 6/6/2012

Community Additions

© 2015 Microsoft