Linguaggio

IDTSEventInfos100.Add Metodo

Definizione

Aggiunge un IDTSEventInfo100 oggetto alla collezione 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 gestori di eventi possono essere creati per l'evento; altrimenti, falso.

ParamNames
String[]

Una serie di parametri passava all'evento.

ParamTypes
UInt16[]

Il tipo di ogni parametro nell'array ParamNames .

ParamDescs
String[]

Un array che contiene descrizioni per ciascuno dei parametri in ParamNames.

Attributi

Commenti

Per altre informazioni, vedere EventInfos.

Si applica a