Freigeben über


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
)

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