共用方式為


Notify method

Called by MSHTML when a change occurs in the contents of the markup container with which it is associated.

Syntax

HRESULT retVal = object.Notify();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

A call to this method signals that there is a new change record available in the change log for a markup container. Implement this method to provide the processing that your application requires when changes occur in a markup container.

See also

Reference

IHTMLChangeLog

IMarkupContainer2::CreateChangeLog