Partilhar via


IVsDataObjectChangeEventsBroker.RaiseObjectAdded Method

Definition

Overloads

RaiseObjectAdded(String, Object[])

Raises the ObjectAdded event.

RaiseObjectAdded(Int32, String, Object[])

Raises the ObjectAdded event or adds the event to the specified event group.

RaiseObjectAdded(String, Object[])

Raises the ObjectAdded event.

public:
 void RaiseObjectAdded(System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public void RaiseObjectAdded (string typeName, object[] identifier);
abstract member RaiseObjectAdded : string * obj[] -> unit
Public Sub RaiseObjectAdded (typeName As String, identifier As Object())

Parameters

typeName
String

The name of the type of the data object for which to raise the event.

identifier
Object[]

An array containing identifier parts that uniquely identify the data object.

Applies to

RaiseObjectAdded(Int32, String, Object[])

Raises the ObjectAdded event or adds the event to the specified event group.

public:
 void RaiseObjectAdded(int groupId, System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public void RaiseObjectAdded (int groupId, string typeName, object[] identifier);
abstract member RaiseObjectAdded : int * string * obj[] -> unit
Public Sub RaiseObjectAdded (groupId As Integer, typeName As String, identifier As Object())

Parameters

groupId
Int32

A numerical value representing the event group identifier. Specify 0 to avoid event groups and raise the event immediately.

typeName
String

The name of the type of the data object for which to raise the event.

identifier
Object[]

An array containing identifier parts that uniquely identify the data object.

Exceptions

The groupId parameter is less than zero, or is different than zero and greater than the count of existing event groups.

Invalid group ID. The group ID could not be validated.

Applies to