Partilhar via


OleUndoEngine.UndoUnit.IOleParentUndoUnit.FindUnit(IOleUndoUnit) Method

Definition

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

 virtual int Microsoft.VisualStudio.OLE.Interop.IOleParentUndoUnit.FindUnit(Microsoft::VisualStudio::OLE::Interop::IOleUndoUnit ^ pUU) = Microsoft::VisualStudio::OLE::Interop::IOleParentUndoUnit::FindUnit;
 virtual int Microsoft.VisualStudio.OLE.Interop.IOleParentUndoUnit.FindUnit(Microsoft::VisualStudio::OLE::Interop::IOleUndoUnit ^ pUU) = Microsoft::VisualStudio::OLE::Interop::IOleParentUndoUnit::FindUnit;
int Microsoft.VisualStudio.OLE.Interop.IOleParentUndoUnit.FindUnit(Microsoft::VisualStudio::OLE::Interop::IOleUndoUnit const & pUU);
int IOleParentUndoUnit.FindUnit (Microsoft.VisualStudio.OLE.Interop.IOleUndoUnit pUU);
abstract member Microsoft.VisualStudio.OLE.Interop.IOleParentUndoUnit.FindUnit : Microsoft.VisualStudio.OLE.Interop.IOleUndoUnit -> int
override this.Microsoft.VisualStudio.OLE.Interop.IOleParentUndoUnit.FindUnit : Microsoft.VisualStudio.OLE.Interop.IOleUndoUnit -> int
Function FindUnit (pUU As IOleUndoUnit) As Integer Implements IOleParentUndoUnit.FindUnit

Parameters

pUU
IOleUndoUnit

The IOleUndoUnit to search for.

Returns

S_OK if the undo unit was located, otherwise S_FALSE.

Implements

Applies to