引发 ObjectChanged 事件。
命名空间: Microsoft.VisualStudio.Data.Services
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Sub RaiseObjectChanged ( _
typeName As String, _
identifier As Object(), _
propertyValues As IDictionary(Of String, Object), _
newIdentifier As Object(), _
newPropertyValues As IDictionary(Of String, Object) _
)
void RaiseObjectChanged(
string typeName,
Object[] identifier,
IDictionary<string, Object> propertyValues,
Object[] newIdentifier,
IDictionary<string, Object> newPropertyValues
)
void RaiseObjectChanged(
String^ typeName,
array<Object^>^ identifier,
IDictionary<String^, Object^>^ propertyValues,
array<Object^>^ newIdentifier,
IDictionary<String^, Object^>^ newPropertyValues
)
abstract RaiseObjectChanged :
typeName:string *
identifier:Object[] *
propertyValues:IDictionary<string, Object> *
newIdentifier:Object[] *
newPropertyValues:IDictionary<string, Object> -> unit
function RaiseObjectChanged(
typeName : String,
identifier : Object[],
propertyValues : IDictionary<String, Object>,
newIdentifier : Object[],
newPropertyValues : IDictionary<String, Object>
)
参数
- typeName
类型:System.String
数据对象类型的名称将引发事件。
- identifier
类型:array<System.Object[]
包含唯一标识旧数据对象的标识符部件的数组。
- propertyValues
类型:System.Collections.Generic.IDictionary<String, Object>
已更改数据对象的早期属性值。
- newIdentifier
类型:array<System.Object[]
包含唯一标识新数据对象的标识符部件的数组。
- newPropertyValues
类型:System.Collections.Generic.IDictionary<String, Object>
已更改数据对象的新属性值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。