2つのコレクションを結合させて、新規コレクションを作成します
Listコレクション (PRIM_LCOL) のメンバ
パラメータ
名前 |
タイプ |
データタイプ |
記述 |
Result |
*Result (任意) |
すべての項目を含むコレクションへの参照 |
|
OtherList |
*Input |
OtherListは追加されるコレクションです |
詳細
Concatenate メソッドは、メソッドを実行するコレクションと、OtherListパラメーターで指定されたコレクションの2つのコレクションにアイテムを組み合わせて、新しいコレクションを作成します。 the collection against which you are executing the method and the collection that was supplied in the OtherList parameter.
両方のコレクションは、同じオブジェクトタイプを収集するように定義する必要があります。
例
この例では、両方のコレクションがコントロールを収集します。
Define_Com Class(#Prim_lcol<#Prim_Ctrl>) Name(#Buttons)
Define_Com Class(#Prim_lcol<#Prim_Ctrl>) Name(#Panels)
Define_Com Class(#Prim_lcol<#Prim_Ctrl>) Name(#Controls) Reference(*Dynamic)
#Controls <= #Buttons.Concatenate( #Panels )