共用方式為


ITextUndoTransaction.Parent Property

Gets the ITextUndoTransaction that contains this transaction.

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

Syntax

'宣告
ReadOnly Property Parent As ITextUndoTransaction
ITextUndoTransaction Parent { get; }
property ITextUndoTransaction^ Parent {
    ITextUndoTransaction^ get ();
}
abstract Parent : ITextUndoTransaction
function get Parent () : ITextUndoTransaction

Property Value

Type: Microsoft.VisualStudio.Text.Operations.ITextUndoTransaction
The parent ITextUndoTransaction.

Remarks

This property is nulla null reference (Nothing in Visual Basic) if this is a root transaction. It is transient, since completed transactions are not nested.

.NET Framework Security

See Also

Reference

ITextUndoTransaction Interface

Microsoft.VisualStudio.Text.Operations Namespace