API:Soap.SOAPAttachIntf.TSoapDataList.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add(Item: TSoapAttachment): Integer; reintroduce;

C++

HIDESBASE int __fastcall Add(Soap::Invokeregistry::TSOAPAttachment* Item);

Properties

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

Description

Adds an item to the end of a list.

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

Adds an item to the end of a list.

Add adds a given item to the end of the list. You can add nil. The capacity, Capacity, of the list is increased if necessary. This is an O(1) operation.

An OnNotify event occurs, indicating that an entry was added to the list.

Add returns the position of the new item in the TList.

See Also