ITextUndoTransaction.UndoPrimitives Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).