ITextUndoHistory.CreateTransaction Method
Creates a new transaction, nests it in the previously current transaction, and marks it current.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Function CreateTransaction ( _
description As String _
) As ITextUndoTransaction
ITextUndoTransaction CreateTransaction(
string description
)
ITextUndoTransaction^ CreateTransaction(
String^ description
)
abstract CreateTransaction :
description:string -> ITextUndoTransaction
function CreateTransaction(
description : String
) : ITextUndoTransaction
Parameters
description
Type: StringThe description of the transaction.
Return Value
Type: Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
The new transaction.
.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.