Initializes a new instance of the UndoManager class.
Syntax
'Declaration
Public Function New( _
ByVal As System.Object, _
ByVal As System.Integer, _
ByVal As System.Boolean _
)
'Usage
Dim context As System.Object
Dim maxLength As System.Integer
Dim allowUndo As System.Boolean
Dim instance As New UndoManager(context, maxLength, allowUndo)
public UndoManager(
System.object ,
System.int ,
System.bool
)
Parameters
- context
- The context of the UndoManager class.
- maxLength
- The maximum level of the actions that can be undone.
- allowUndo
- if set to
true
allow undo; otherwise, do not allow undo.
See Also