API:Soap.SOAPAttachIntf.TSoapDataList.Insert

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

Delphi

procedure Insert(Index: Integer; aClass: TClass); reintroduce;

C++

HIDESBASE void __fastcall Insert(int Index, System::TClass aClass);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
Soap.SOAPAttachIntf.pas
Soap.SOAPAttachIntf.hpp
Soap.SOAPAttachIntf TSoapDataList

説明

リストにエントリを挿入します。

Soap.SOAPAttachIntf.TSoapDataList.Insert は System.Generics.Collections.TList.Insert を継承しています。以下の内容はすべて System.Generics.Collections.TList.Insert を参照しています。

リストにエントリを挿入します。

Insert は、要素 Value をリスト内のインデックス Index の位置に挿入します。リストの Count が既に Capacity と等しい場合には、Capacity が増やされます。

このリストで Index が有効でない場合には、EArgumentOutOfRangeException 例外が発生します。

これは O(n) 操作であり、ここでの n はリスト内の項目の数です。

OnNotify イベントが発生し、リストに項目が挿入されたことを示します。

関連項目

コード例