ITextDocument::EndEditCollection method (tom.h)

Turns off edit collection (also called undo grouping).

Syntax

HRESULT EndEditCollection();

Return value

Type: HRESULT

If the method succeeds, it returns S_OK. If the method fails, it returns the following COM error code. For more information about COM error codes, see Error Handling in COM.

Return code Description
E_NOTIMPL
This method is not implemented.

Remarks

The screen is unfrozen unless the freeze count is nonzero.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

BeginEditCollection

Conceptual

Freeze

ITextDocument

Reference

Text Object Model