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
- Document Object Model (DOM) Level 1 Specification, Section 1.2
Remarks
If the node represents an attribute retrieved from the attributes collection, the IHTMLDOMAttribute2::nodeType returns null
.
Starting in Microsoft Internet Explorer 6, this property applies to the attribute object.