nodeType
Collapse the table of content
Expand the table of content

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 IHTMLDOMAttribute2::nodeType returns null.

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

See also

About the W3C Document Object Model

 

 

Show:
© 2016 Microsoft