Share via


DataObjectChangedEventArgs Class

Encapsulates event data for the ObjectAdded, ObjectChanged, and ObjectRemoved events.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.VisualStudio.Data.DataObjectChangedEventArgs

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Class DataObjectChangedEventArgs _
    Inherits EventArgs
public class DataObjectChangedEventArgs : EventArgs
public ref class DataObjectChangedEventArgs : public EventArgs
type DataObjectChangedEventArgs =  
    class
        inherit EventArgs
    end
public class DataObjectChangedEventArgs extends EventArgs

The DataObjectChangedEventArgs type exposes the following members.

Constructors

  Name Description
Public method DataObjectChangedEventArgs(DataObjectChangeType, String, array<Object[]) Class constructor. Initializes a new instance of the DataObjectChangedEventArgs class with object change data.
Public method DataObjectChangedEventArgs(DataObjectChangeType, String, array<Object[], array<Object[]) Class constructor. Initializes a new instance of the DataObjectChangedEventArgs class when the identifier of the changed object is modified.

Top

Properties

  Name Description
Public property ChangeType Retrieves the type of data object change that occurred, from among those obtained from the DataObjectChangeType enumeration.
Public property Identifier Retrieves the identifier of the data object involved in the change.
Public property NewIdentifier Retrieves the new identifier of the data object after the change.
Public property TypeName Retrieves the name of the data object type involved in the change.

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

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.Data Namespace