共用方式為


IHTMLDOMTextNode3 interface

Provides methods to access the data in a text node of a document; extends the IHTMLDOMTextNode2 interface.

Members

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

  • Methods
  • Properties

Methods

The IHTMLDOMTextNode3 interface has these methods.

Method Description
deleteData

Removes a specified range of characters from the object.

hasAttributes

Determines whether one or more attributes exist for the object.

insertData

Inserts a new character string in the object at a specified offset.

normalize

Merges adjacent DOM objects to produce a normalized document object model.

replaceData

Replaces a specified range of characters in the object with a new character string.

replaceWholeText

Replaces the text of the current object.

splitText

Divides a text node at the specified index.

substringData

Extracts a range of characters from the object.

 

Properties

The IHTMLDOMTextNode3 interface has these properties.

Property Description

wholeText

Retrieves the text of the current object.

 

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