IEnumOleUndoUnits interface

Enumerates the undo units on the undo or redo stack.

When to implement

The undo manager implements this method to enumerate a list of undo units on the undo or redo stack.

When to use

Use the IEnumOleUndoUnits interface to enumerate all the top level undo units on the undo or redo stack.

Members

The IEnumOleUndoUnits interface inherits from the IUnknown interface. IEnumOleUndoUnits also has these types of members:

Methods

The IEnumOleUndoUnits interface has these methods.

MethodDescription
Clone

Creates a new enumerator that contains the same enumeration state as the current one.

Next

Retrieves the specified number of items in the enumeration sequence.

Reset

Resets the enumeration sequence to the beginning.

Skip

Skips over the specified number of items in the enumeration sequence.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IEnumOleUndoUnits is defined as B3E7C340-EF97-11CE-9BC9-00AA00608E01

See also

IOleUndoManager
IOleUndoUnit

 

 

Show: