IDTSEventInfos100.Add Method

Definition

Adds an IDTSEventInfo100 object to the current collection.

public:
 void Add(System::String ^ EventName, System::String ^ Description, bool AllowEventHandlers, cli::array <System::String ^> ^ % ParamNames, cli::array <System::UInt16> ^ % ParamTypes, cli::array <System::String ^> ^ % ParamDescs);
[System.Runtime.InteropServices.DispId(2)]
public void Add (string EventName, string Description, bool AllowEventHandlers, ref string[] ParamNames, ref ushort[] ParamTypes, ref string[] ParamDescs);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member Add : string * string * bool * String[] * UInt16[] * String[] -> unit
Public Sub Add (EventName As String, Description As String, AllowEventHandlers As Boolean, ByRef ParamNames As String(), ByRef ParamTypes As UShort(), ByRef ParamDescs As String())

Parameters

EventName
String

The name of the custom event.

Description
String

The description of the event.

AllowEventHandlers
Boolean

true to indicate that the event handler objects can be created for the event; otherwise, false.

ParamNames
String[]

An array of parameters passed to the event.

ParamTypes
UInt16[]

The type of each parameter in the ParamNames array.

ParamDescs
String[]

An array that contains descriptions for each of the parameters in ParamNames.

Attributes

Remarks

For more information, see EventInfos.

Applies to