ITextUndoTransaction.UndoPrimitives Property

Definition

Gets the collection of ITextUndoPrimitive objects in this container.

public:
 property System::Collections::Generic::IList<Microsoft::VisualStudio::Text::Operations::ITextUndoPrimitive ^> ^ UndoPrimitives { System::Collections::Generic::IList<Microsoft::VisualStudio::Text::Operations::ITextUndoPrimitive ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.VisualStudio.Text.Operations.ITextUndoPrimitive> UndoPrimitives { get; }
member this.UndoPrimitives : System.Collections.Generic.IList<Microsoft.VisualStudio.Text.Operations.ITextUndoPrimitive>
Public ReadOnly Property UndoPrimitives As IList(Of ITextUndoPrimitive)

Property Value

The ITextUndoPrimitive collection.

Remarks

You should try to get these primitives only after the transaction has been completed.

You cannot modify the list except during merging (i.e. from your PerformTransactionMerge(ITextUndoTransaction, ITextUndoTransaction) implementation).

Applies to