Partager via


TextUndoTransactionCompletedEventArgs Class

Provides information for the UndoTransactionCompleted event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.Text.Operations.TextUndoTransactionCompletedEventArgs

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

Syntax

'Déclaration
Public Class TextUndoTransactionCompletedEventArgs _
    Inherits EventArgs
public class TextUndoTransactionCompletedEventArgs : EventArgs
public ref class TextUndoTransactionCompletedEventArgs : public EventArgs
type TextUndoTransactionCompletedEventArgs =  
    class
        inherit EventArgs
    end
public class TextUndoTransactionCompletedEventArgs extends EventArgs

The TextUndoTransactionCompletedEventArgs type exposes the following members.

Constructors

  Name Description
Public method TextUndoTransactionCompletedEventArgs Initializes a new instance of TextUndoTransactionCompletedEventArgs.

Top

Properties

  Name Description
Public property Result Gets the result of the completed transaction.
Public property Transaction Gets the transaction that was added to the ITextUndoHistory.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

These event arguments contain the ITextUndoTransaction that has been added and the result of the completion. This event is fired only for the topmost ITextUndoTransaction that is placed on the UndoStack. Completion of nested transactions does not raise this event.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Text.Operations Namespace