共用方式為


ITextUndoHistory.CurrentTransaction Property

Gets the current undo transaction in progress.

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

Syntax

'宣告
ReadOnly Property CurrentTransaction As ITextUndoTransaction
ITextUndoTransaction CurrentTransaction { get; }
property ITextUndoTransaction^ CurrentTransaction {
    ITextUndoTransaction^ get ();
}
abstract CurrentTransaction : ITextUndoTransaction
function get CurrentTransaction () : ITextUndoTransaction

Property Value

Type: Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
The current undo operation.

.NET Framework Security

See Also

Reference

ITextUndoHistory Interface

Microsoft.VisualStudio.Text.Operations Namespace