Partilhar via


IVsDataObjectChangeEventsBroker.RaiseObjectDeleted Method

Definition

Overloads

RaiseObjectDeleted(String, Object[])

Raises the ObjectDeleted event.

RaiseObjectDeleted(Int32, String, Object[])

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

RaiseObjectDeleted(String, Object[])

Raises the ObjectDeleted event.

public:
 void RaiseObjectDeleted(System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public void RaiseObjectDeleted (string typeName, object[] identifier);
abstract member RaiseObjectDeleted : string * obj[] -> unit
Public Sub RaiseObjectDeleted (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

RaiseObjectDeleted(Int32, String, Object[])

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

public:
 void RaiseObjectDeleted(int groupId, System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public void RaiseObjectDeleted (int groupId, string typeName, object[] identifier);
abstract member RaiseObjectDeleted : int * string * obj[] -> unit
Public Sub RaiseObjectDeleted (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