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.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Public Sub New ( _
typeName As String, _
identifier As Object(), _
propertyValues As IDictionary(Of String, Object), _
newIdentifier As Object(), _
newPropertyValues As IDictionary(Of String, Object) _
)
'使用
Dim typeName As String
Dim identifier As Object()
Dim propertyValues As IDictionary(Of String, Object)
Dim newIdentifier As Object()
Dim newPropertyValues As IDictionary(Of String, Object)
Dim instance As New DataObjectChangedEventArgs(typeName, _
identifier, propertyValues, newIdentifier, _
newPropertyValues)
public DataObjectChangedEventArgs(
string typeName,
Object[] identifier,
IDictionary<string, Object> propertyValues,
Object[] newIdentifier,
IDictionary<string, Object> newPropertyValues
)
public:
DataObjectChangedEventArgs(
String^ typeName,
array<Object^>^ identifier,
IDictionary<String^, Object^>^ propertyValues,
array<Object^>^ newIdentifier,
IDictionary<String^, Object^>^ newPropertyValues
)
public function DataObjectChangedEventArgs(
typeName : String,
identifier : Object[],
propertyValues : IDictionary<String, Object>,
newIdentifier : Object[],
newPropertyValues : IDictionary<String, Object>
)
Parameters
typeName
Type: System.StringThe name of the data object's type.
identifier
Type: []An array of identifier parts that identify the data object.
propertyValues
Type: System.Collections.Generic.IDictionary<String, Object>A collection of name/value pairs of property names and values.
newIdentifier
Type: []An array of identifier parts that identify the new data object.
newPropertyValues
Type: System.Collections.Generic.IDictionary<String, Object>A collection of name/value pairs for new property names and values.
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