次の方法で共有


ITextUndoTransaction.UndoPrimitives Property

Gets the collection of ITextUndoPrimitive objects in this container.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣言
ReadOnly Property UndoPrimitives As IList(Of ITextUndoPrimitive)
IList<ITextUndoPrimitive> UndoPrimitives { get; }
property IList<ITextUndoPrimitive^>^ UndoPrimitives {
    IList<ITextUndoPrimitive^>^ get ();
}
abstract UndoPrimitives : IList<ITextUndoPrimitive>
function get UndoPrimitives () : IList<ITextUndoPrimitive>

Property Value

Type: System.Collections.Generic.IList<ITextUndoPrimitive>
The ITextUndoPrimitive collection.

Remarks

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

.NET Framework Security

See Also

Reference

ITextUndoTransaction Interface

Microsoft.VisualStudio.Text.Operations Namespace