다음을 통해 공유


DataObjectChangedEventArgs Constructors

Definition

Overloads

DataObjectChangedEventArgs(DataObjectChangeType, String, Object[])

Class constructor. Initializes a new instance of the DataObjectChangedEventArgs class with object change data.

DataObjectChangedEventArgs(DataObjectChangeType, String, Object[], Object[])

Class constructor. Initializes a new instance of the DataObjectChangedEventArgs class when the identifier of the changed object is modified.

DataObjectChangedEventArgs(DataObjectChangeType, String, Object[])

Class constructor. Initializes a new instance of the DataObjectChangedEventArgs class with object change data.

public:
 DataObjectChangedEventArgs(Microsoft::VisualStudio::Data::DataObjectChangeType changeType, System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public DataObjectChangedEventArgs (Microsoft.VisualStudio.Data.DataObjectChangeType changeType, string typeName, object[] identifier);
new Microsoft.VisualStudio.Data.DataObjectChangedEventArgs : Microsoft.VisualStudio.Data.DataObjectChangeType * string * obj[] -> Microsoft.VisualStudio.Data.DataObjectChangedEventArgs
Public Sub New (changeType As DataObjectChangeType, typeName As String, identifier As Object())

Parameters

changeType
DataObjectChangeType

The type of change that has occurred, from among values defined by the DataObjectChangeType enumeration.

typeName
String

The name of the object type involved in the change.

identifier
Object[]

The identifier of the object involved in the change.

Applies to

DataObjectChangedEventArgs(DataObjectChangeType, String, Object[], Object[])

Class constructor. Initializes a new instance of the DataObjectChangedEventArgs class when the identifier of the changed object is modified.

public:
 DataObjectChangedEventArgs(Microsoft::VisualStudio::Data::DataObjectChangeType changeType, System::String ^ typeName, cli::array <System::Object ^> ^ identifier, cli::array <System::Object ^> ^ newIdentifier);
public DataObjectChangedEventArgs (Microsoft.VisualStudio.Data.DataObjectChangeType changeType, string typeName, object[] identifier, object[] newIdentifier);
new Microsoft.VisualStudio.Data.DataObjectChangedEventArgs : Microsoft.VisualStudio.Data.DataObjectChangeType * string * obj[] * obj[] -> Microsoft.VisualStudio.Data.DataObjectChangedEventArgs
Public Sub New (changeType As DataObjectChangeType, typeName As String, identifier As Object(), newIdentifier As Object())

Parameters

changeType
DataObjectChangeType

The type of change that has occurred, from among values defined by the DataObjectChangeType enumeration.

typeName
String

The name of the object type involved in the change.

identifier
Object[]

The identifier of the object involved in the change.

newIdentifier
Object[]

The new identifier of the object after the change.

Applies to