API:Soap.SOAPAttachIntf.TSoapDataList.Insert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.SOAPAttachIntf.pas
Soap.SOAPAttachIntf.hpp
Soap.SOAPAttachIntf TSoapDataList

Description

Insert entry in list.

Soap.SOAPAttachIntf.TSoapDataList.Insert inherits from System.Generics.Collections.TList.Insert. All content below this line refers to System.Generics.Collections.TList.Insert.

Insert entry in list.

Insert inserts an element Value in the list at the index Index. If the list Count is already equal to Capacity, Capacity is increased.

If Index is not valid for the list, an EArgumentOutOfRangeException exception is raised.

This is an O(n) operation, where n is the number of items in the list.

An OnNotify event occurs indicating that an item was inserted in the list.

See Also

Code Examples