IDTSEventInfos100.Add Método

Definición

Agrega un objeto IDTSEventInfo100 a la colección actual.

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())

Parámetros

EventName
String

Nombre del evento personalizado.

Description
String

Descripción del evento.

AllowEventHandlers
Boolean

true para indicar que se pueden crear objetos de controlador de eventos para el evento; de lo contrario, false.

ParamNames
String[]

Una matriz de parámetros pasada al evento.

ParamTypes
UInt16[]

El tipo de cada parámetro en la matriz ParamNames.

ParamDescs
String[]

Una matriz que contiene las descripciones de cada uno de los parámetros en ParamNames.

Atributos

Comentarios

Para obtener más información, vea EventInfos.

Se aplica a