OleUndoEngine.UndoUnit.IOleParentUndoUnit.FindUnit(IOleUndoUnit) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.