OleUndoEngine.UndoUnit Constructor
Initializes a new instance of the OleUndoEngine.UndoUnit class.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public Sub New ( _
engine As UndoEngine, _
name As String _
)
'使用
Dim engine As UndoEngine
Dim name As String
Dim instance As New OleUndoEngine..::.UndoUnit(engine, _
name)
public UndoUnit(
UndoEngine engine,
string name
)
public:
UndoUnit(
UndoEngine^ engine,
String^ name
)
public function OleUndoEngine..::.UndoUnit(
engine : UndoEngine,
name : String
)
Parameters
engine
Type: System.ComponentModel.Design.UndoEngineThe undo engine that owns this undo unit.
name
Type: System.StringThe name for this undo unit.
Permissions
- 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.
See Also
Reference
OleUndoEngine.UndoUnit Members