Partilhar via


ITextUndoHistory.CreateTransaction(String) Method

Definition

Creates a new transaction, nests it in the previously current transaction, and marks it current.

public:
 Microsoft::VisualStudio::Text::Operations::ITextUndoTransaction ^ CreateTransaction(System::String ^ description);
public Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction CreateTransaction (string description);
abstract member CreateTransaction : string -> Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
Public Function CreateTransaction (description As String) As ITextUndoTransaction

Parameters

description
String

The description of the transaction.

Returns

The new transaction.

Applies to