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
'宣言
Private Function FindUnit ( _
pUU As IOleUndoUnit _
) As Integer Implements IOleParentUndoUnit.FindUnit
int IOleParentUndoUnit.FindUnit(
IOleUndoUnit pUU
)
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.