共用方式為


replaceWholeText method

Replaces the text of the current object.

 

Syntax

IHTMLDOMNode retVal = object.replaceWholeText(bstrText);

Parameters

  • bstrText [in]
    Type: BSTR

    The text that replaces the existing text.

Standards information

Remarks

Windows Internet Explorer 9. The IHTMLDOMTextNode3::replaceWholeText method is supported only when webpages are displayed in IE9 Standards mode.