ITextUndoTransaction.UndoPrimitives 属性

定义

获取 ITextUndoPrimitive 此容器中的对象的集合。

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)

属性值

IList<ITextUndoPrimitive>

ITextUndoPrimitive 集合。

注解

只应在事务完成后,尝试获取这些基元。

不能在合并 ((即从实现) 中)修改列表 PerformTransactionMerge(ITextUndoTransaction, ITextUndoTransaction)

适用于