Help Center

CTextDocument2.EndEditCollectionmethod

Turns off edit collection (also called *undo grouping*).

Windowsmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION EndEditCollection () AS HRESULT

Return value

If the method succeeds, it returns S_OK. If the method fails, it returns a COM error code.

Description

Turns off edit collection (also called undo grouping).

Remarks

The screen is unfrozen unless the freeze count is nonzero.

Reference