共用方式為


TextUndoRedoEventArgs.Transaction Property

Gets the transaction that was processed in this undo or redo.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣告
Public ReadOnly Property Transaction As ITextUndoTransaction
public ITextUndoTransaction Transaction { get; }
public:
property ITextUndoTransaction^ Transaction {
    ITextUndoTransaction^ get ();
}
member Transaction : ITextUndoTransaction
function get Transaction () : ITextUndoTransaction

Property Value

Type: Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
The transaction that was processed in this undo or redo.

.NET Framework Security

See Also

Reference

TextUndoRedoEventArgs Class

Microsoft.VisualStudio.Text.Operations Namespace