OleUndoEngine.UndoUnit.IOleParentUndoUnit.FindUnit Method
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)
Syntax
'Declaration
Private Function FindUnit ( _
pUU As IOleUndoUnit _
) As Integer Implements IOleParentUndoUnit.FindUnit
int IOleParentUndoUnit.FindUnit(
IOleUndoUnit pUU
)
private:
virtual int FindUnit(
IOleUndoUnit^ pUU
) sealed = IOleParentUndoUnit::FindUnit
private abstract FindUnit :
pUU:IOleUndoUnit -> int
private override FindUnit :
pUU:IOleUndoUnit -> int
JScript does not support explicit interface implementations.
Parameters
pUU
Type: Microsoft.VisualStudio.OLE.Interop.IOleUndoUnitThe IOleUndoUnit to search for.
Return Value
Type: System.Int32
S_OK if the undo unit was located, otherwise S_FALSE.
Implements
IOleParentUndoUnit.FindUnit(IOleUndoUnit)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.