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

Retrieves the type of the requested node.

Syntax

HRESULT value = object.get_nodeType(* p);

Property values

Type: long

1

Element node.

3

Text node.

Standards information

Remarks

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft