Compartilhar via


IHTMLDOMNode3 interface

Provides methods to access and modify nodes in the Document Object Model (DOM) and extends the IHTMLDOMNode2 interface.

Members

The IHTMLDOMNode3 interface inherits from the IDispatch interface. IHTMLDOMNode3 also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLDOMNode3 interface has these methods.

Method Description
appendChild

Appends an element as a child to the object.

compareDocumentPosition

Compares the position of two nodes in a document.

insertBefore

Inserts an element into the document hierarchy as a child node of a parent object.

isDefaultNamespace

Indicates whether or not a namespace is the default namespace for a document.

isEqualNode

Determines if two nodes are equal.

isSameNode

Determines if two node references refer to the same node.

isSupported

Returns a value indicating whether or not the object supports a specific DOM standard.

lookupNamespaceURI

Gets the URI of the namespace associated with a namespace prefix, if any.

lookupPrefix

Gets the namespace prefix associated with a URI, if any.

removeChild

Removes a child node from the object.

replaceChild

Replaces an existing child element with a new child element.

 

Properties

The IHTMLDOMNode3 interface has these properties.

Property Description

localName

Retrieves the local name of the fully qualified XML declaration for a node.

namespaceURI

Retrieves the namespace URI of the fully qualified XML declaration for a node.

prefix

Retrieves the local name of the fully qualified XML declaration for a node.

textContent

Sets or retrieves the text content of an object and any child objects.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch