言語

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はイベントハンドラオブジェクトを作成できることを示します。そうでなければ、誤りです。

ParamNames
String[]

イベントに渡されるパラメータの配列。

ParamTypes
UInt16[]

配列内の各パラメータの型 ParamNames

ParamDescs
String[]

ParamNamesの各パラメータの記述を含む配列です。

属性

注釈

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

適用対象