OleUndoEngine.UndoUnit.IOleParentUndoUnit.Add Method
Adds an undo unit to the parent collection.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Private Sub Add ( _
pUU As IOleUndoUnit _
) Implements IOleParentUndoUnit.Add
'Usage
Dim instance As OleUndoEngine..::..UndoUnit
Dim pUU As IOleUndoUnit
CType(instance, IOleParentUndoUnit).Add(pUU)
void IOleParentUndoUnit.Add(
IOleUndoUnit pUU
)
private:
virtual void Add(
IOleUndoUnit^ pUU
) sealed = IOleParentUndoUnit::Add
private abstract Add :
pUU:IOleUndoUnit -> unit
private override Add :
pUU:IOleUndoUnit -> unit
JScript does not support explicit interface implementations.
Parameters
- pUU
Type: Microsoft.VisualStudio.OLE.Interop.IOleUndoUnit
The IOleUndoUnit to add.
Implements
IOleParentUndoUnit.Add(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.