Condividi tramite


IDTSEventInfos100.Add Metodo

Definizione

Aggiunge un oggetto IDTSEventInfo100 alla raccolta corrente.

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

Parametri

EventName
String

Nome dell'evento personalizzato.

Description
String

Descrizione dell'evento.

AllowEventHandlers
Boolean

true per indicare che gli oggetti del gestore eventi possono essere creati per l'evento; in caso contrario, false.

ParamNames
String[]

Matrice di parametri passati all'evento.

ParamTypes
UInt16[]

Tipo di ogni parametro nella matrice ParamNames.

ParamDescs
String[]

Matrice contenente la descrizione di ogni parametro in ParamNames.

Attributi

Commenti

Per altre informazioni, vedere EventInfos.

Si applica a