nodeName property

Gets the name of a particular type of node.

Syntax

HRESULT value = object.get_nodeName(* p);

Property values

Type: BSTR

tagName

The name of the element. This name is also available through the IHTMLElement::tagName property.

attrName

The name of the attribute, where the node is an attribute object.

#text

The node is a TextNode object.

Standards information

See also

IHTMLDOMNode::nodeType

About the W3C Document Object Model