RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapDataList.Add Method

Adds a new attachment to the end of the list.

Pascal
function Add(Item: Pointer): Integer; reintroduce;
C++
__fastcall int Add(void * Item);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!