共用方式為


TextUndoTransactionCompletedEventArgs.Transaction Property

Gets the transaction that was added to the ITextUndoHistory.

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 added to the ITextUndoHistory.

.NET Framework Security

See Also

Reference

TextUndoTransactionCompletedEventArgs Class

Microsoft.VisualStudio.Text.Operations Namespace