Class constructor. Initializes a new instance of the DataObjectChangedEventArgs class with object change data.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Sub New ( _
changeType As DataObjectChangeType, _
typeName As String, _
identifier As Object() _
)
'使用
Dim changeType As DataObjectChangeType
Dim typeName As String
Dim identifier As Object()
Dim instance As New DataObjectChangedEventArgs(changeType, _
typeName, identifier)
public DataObjectChangedEventArgs(
DataObjectChangeType changeType,
string typeName,
Object[] identifier
)
public:
DataObjectChangedEventArgs(
DataObjectChangeType changeType,
String^ typeName,
array<Object^>^ identifier
)
public function DataObjectChangedEventArgs(
changeType : DataObjectChangeType,
typeName : String,
identifier : Object[]
)
Parameters
changeType
Type: Microsoft.VisualStudio.Data.DataObjectChangeTypeThe type of change that has occurred, from among values defined by the DataObjectChangeType enumeration.
typeName
Type: System.StringThe name of the object type involved in the change.
identifier
Type: []The identifier of the object involved in the change.
Remarks
The changeType parameter references values provided in the DataObjectChangeType enumeration.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataObjectChangedEventArgs Class
DataObjectChangedEventArgs Members