System.Classes.TInterfaceList.Add

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function Add(const Item: IInterface): Integer;

C++

int __fastcall Add(const System::_di_IInterface Item);

プロパティ

種類 可視性 ソース ユニット
function public
System.Classes.pas
System.Classes.hpp
System.Classes TInterfaceList

説明

リストにインターフェイスを追加します。

Add を呼び出すと、リストにインターフェイスが追加されます。マルチスレッド処理のため、リストは追加操作の開始前にロックされ、処理後ロック解除されます。

関数は、新たに追加されたインターフェイスがあるインデックスを返します。

関連項目