Share via


DataObjectChangedEventArgs Class

Encapsulates event data for the ObjectChanged event.

Inheritance Hierarchy

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

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

Syntax

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

The DataObjectChangedEventArgs type exposes the following members.

Constructors

  Name Description
Public method DataObjectChangedEventArgs(String, array<Object[]) Initializes a new instance of the DataObjectChangedEventArgs class with the object type name and an array of identifier parts representing the data object.
Public method DataObjectChangedEventArgs(String, array<Object[], array<Object[]) Initializes a new instance of the DataObjectChangedEventArgs class with the object type name, an array of identifier parts, and another array of new identifier parts representing this data object.
Public method DataObjectChangedEventArgs(String, array<Object[], IDictionary<String, Object>, IDictionary<String, Object>) Initializes a new instance of the DataObjectChangedEventArgs class with the object type name, an array of identifier parts representing the data object, a collection of name/value pairs of property names and values, and another collection of name/value pairs for new property names and values.
Public method DataObjectChangedEventArgs(String, array<Object[], IDictionary<String, Object>, array<Object[], IDictionary<String, Object>) Initializes a new instance of the DataObjectChangedEventArgs class with the object type name, an array of identifier parts representing the data object, a collection of name/value pairs of property names and values, an array of new identifier parts representing the data object, and another collection of name/value pairs for new property names and values.

Top

Properties

  Name Description
Public property Identifier Gets a list of identifier parts for the data object. (Inherited from DataObjectEventArgs.)
Public property NewIdentifier Gets a list of all new identifier parts that represent the data object.
Public property NewPropertyValues Gets a collection of name/value pairs containing the new property names and values.
Public property PropertyValues Gets a collection of name/value pairs containing the existing property names and values.
Public property TypeName Gets the name of the data object type. (Inherited from DataObjectEventArgs.)

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