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
'Declaración
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 | |
---|---|---|
TextUndoTransactionCompletedEventArgs | Initializes a new instance of TextUndoTransactionCompletedEventArgs. |
Top
Properties
Name | Description | |
---|---|---|
Result | Gets the result of the completed transaction. | |
Transaction | Gets the transaction that was added to the ITextUndoHistory. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.