次の方法で共有


DataObjectChangeEvents.RaiseObjectAdded Method

Definition

Overloads

RaiseObjectAdded(String, Object[])

Raises a standalone ObjectAdded event, specifying the object type and identifier.

RaiseObjectAdded(Int32, String, Object[])

Raises the ObjectAdded event within a specific event group.

RaiseObjectAdded(String, Object[])

Raises a standalone ObjectAdded event, specifying the object type and identifier.

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

Parameters

typeName
String

The name of the type of object that was added.

identifier
Object[]

The identifier of the object that was added.

Applies to

RaiseObjectAdded(Int32, String, Object[])

Raises the ObjectAdded event within a specific event group.

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

Parameters

groupId
Int32

The ID of the event 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 added.

identifier
Object[]

The identifier of the object that was added.

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