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 a new attachment to the end of the list.

Do not call the Add method. This method is used internally to add attachments to the data list when the application first reads an incoming message that includes attachments or when marshaling a message to be sent that includes attachments. Applications should not change the list of attachments, or they will interfere with the marshaling and unmarshaling of attachment data.

Item is a pointer to the TSoapAttachment instance that is added to the list.

Add returns the index of the new attachment.

See Also