IEnumOleUndoUnits::Reset method

Resets the enumeration sequence to the beginning.

Syntax


HRESULT Reset();

Parameters

This method has no parameters.

Return value

This method returns S_OK on success.

Remarks

There is no guarantee that the same set of objects will be enumerated after the reset operation has completed. A static collection is reset to the beginning, but it can be too expensive for some collections, such as files in a directory, to guarantee this condition.

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

IEnumOleUndoUnits

 

 

Show: