Share via


IDTSEventInfos100.Add メソッド

定義

現在のコレクションに IDTSEventInfo100 オブジェクトを追加します。

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

パラメーター

EventName
String

カスタム イベントの名前です。

Description
String

イベントの説明です。

AllowEventHandlers
Boolean

イベント ハンドラー オブジェクトをイベントに対して作成できることを示す場合は true。それ以外の場合は false。

ParamNames
String[]

イベントに渡すパラメーターの配列です。

ParamTypes
UInt16[]

ParamNames 配列中の各パラメーターの型です。

ParamDescs
String[]

ParamNames 中の各パラメーターの説明を表す配列です。

属性

注釈

詳細については、「EventInfos」を参照してください。

適用対象