Freigeben über


DataObjectChangeEvents.RaiseObjectRemoved Method

Definition

Overloads

RaiseObjectRemoved(String, Object[])

Raises a standalone ObjectRemoved event, specifying type name and object identifier.

RaiseObjectRemoved(Int32, String, Object[])

Raises the ObjectRemoved event within a specified event group.

RaiseObjectRemoved(String, Object[])

Raises a standalone ObjectRemoved event, specifying type name and object identifier.

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

Parameters

typeName
String

The name of the type of object that was removed.

identifier
Object[]

The identifier of the object that was removed.

Applies to

RaiseObjectRemoved(Int32, String, Object[])

Raises the ObjectRemoved event within a specified event group.

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

Parameters

groupId
Int32

The ID of a group in which the event should be raised, or zero to indicate no group.

typeName
String

The name of the type of object that was removed.

identifier
Object[]

The identifier of the object that was removed.

Exceptions

The groupId parameter is less than or equal to zero or is greater than the current number of allocated groups.

The groupId parameter is invalid.

Applies to