List コレクション - Concatenate メソッド

2 つのコレクションを結合させて、新規コレクションを作成します

List コレクション (PRIM_LCOL) のメンバ

パラメーター

名前タイプデータ タイプ記述
Result*Result (任意)PRIM_LCOLすべての項目を含むコレクションへの参照
OtherList*InputPRIM_LCOLOtherList は追加されるコレクションです

詳細

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 )

参照

すべてのコンポーネント クラス

テクニカルリファレンス

2018 - V14SP1