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:
© 2014 Microsoft