TextUndoRedoEventArgs Constructor
Initializes a new instance of TextUndoRedoEventArgs.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'宣言
Public Sub New ( _
state As TextUndoHistoryState, _
transaction As ITextUndoTransaction _
)
public TextUndoRedoEventArgs(
TextUndoHistoryState state,
ITextUndoTransaction transaction
)
public:
TextUndoRedoEventArgs(
TextUndoHistoryState state,
ITextUndoTransaction^ transaction
)
new :
state:TextUndoHistoryState *
transaction:ITextUndoTransaction -> TextUndoRedoEventArgs
public function TextUndoRedoEventArgs(
state : TextUndoHistoryState,
transaction : ITextUndoTransaction
)
Parameters
- transaction
Type: Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
The ITextUndoTransaction.
.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.