SnapshotDifferenceChangeEventArgs Class
Used in conjunction with the SnapshotDifferenceChanging and SnapshotDifferenceChanged events.
Inheritance Hierarchy
Object
EventArgs
Microsoft.VisualStudio.Text.Differencing.SnapshotDifferenceChangeEventArgs
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Class SnapshotDifferenceChangeEventArgs _
Inherits EventArgs
public class SnapshotDifferenceChangeEventArgs : EventArgs
public ref class SnapshotDifferenceChangeEventArgs : public EventArgs
type SnapshotDifferenceChangeEventArgs =
class
inherit EventArgs
end
public class SnapshotDifferenceChangeEventArgs extends EventArgs
The SnapshotDifferenceChangeEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SnapshotDifferenceChangeEventArgs | Initializes a new instance of SnapshotDifferenceChangeEventArgs from the given before and after ISnapshotDifference objects. |
Top
Properties
Name | Description | |
---|---|---|
After | Gets the ISnapshotDifference after the change. If this is a SnapshotDifferenceChanging event, this property is nulla null reference (Nothing in Visual Basic), because it hasn't been computed yet. | |
Before | Gets the ISnapshotDifference before the change, which is nulla null reference (Nothing in Visual Basic) for the first change event. |
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 the default hash function. (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
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.