IVsDataObjectChangeEventsBroker.RaiseObjectAdded 方法 (String, array<Object )

引发 ObjectAdded 事件。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Sub RaiseObjectAdded ( _
    typeName As String, _
    identifier As Object() _
)
void RaiseObjectAdded(
    string typeName,
    Object[] identifier
)
void RaiseObjectAdded(
    String^ typeName, 
    array<Object^>^ identifier
)
abstract RaiseObjectAdded : 
        typeName:string * 
        identifier:Object[] -> unit 
function RaiseObjectAdded(
    typeName : String, 
    identifier : Object[]
)

参数

  • typeName
    类型:System.String
    数据对象类型的名称将引发事件。
  • identifier
    类型:array<System.Object[]
    包含唯一标识数据对象的标识符部件的数组。

备注

此方法将调用委托给 RaiseObjectAdded 并传递0 groupID 参数的。

.NET Framework 安全性

请参见

参考

IVsDataObjectChangeEventsBroker 接口

RaiseObjectAdded 重载

Microsoft.VisualStudio.Data.Services 命名空间