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

Return Value

Type: System.Int32
S_OK if the undo unit was located, otherwise S_FALSE.

Implements

IOleParentUndoUnit.FindUnit(IOleUndoUnit)

.NET Framework Security

See Also

Reference

OleUndoEngine.UndoUnit Class

Microsoft.VisualStudio.Shell.Design Namespace