Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
Dim instance As OleUndoEngine..::..UndoUnit
Dim pUU As IOleUndoUnit
Dim returnValue As Integer
returnValue = CType(instance, IOleParentUndoUnit).FindUnit(pUU)
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.IOleUndoUnit
The 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.