共用方式為


IHTMLDOMTextNode2 interface

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

Members

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

  • Methods

Methods

The IHTMLDOMTextNode2 interface has these methods.

Method Description
appendData

Adds a new character string to the end of the object.

deleteData

Removes a specified range of characters from the object.

insertData

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

replaceData

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

substringData

Extracts a range of characters from the object.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch