OleUndoEngine::UndoUnit::IOleParentUndoUnit::FindUnit Method (IOleUndoUnit^)

 
Use BaseTrue

Searches for the specified unit in the child undo unit hierarchy.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

private:
virtual int FindUnit(
	IOleUndoUnit^ pUU
) sealed = IOleParentUndoUnit::FindUnit

Parameters

pUU
Type: Microsoft.VisualStudio.OLE.Interop::IOleUndoUnit^

The IOleUndoUnit to search for.

Return Value

Type: System::Int32

S_OK if the undo unit was located, otherwise S_FALSE.

Return to top
Show: