RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapPascalInvoker.OnGetAttachment Event

Occurs when TSoapPascalInvoker reads each attachment included in an incoming request.

Pascal
property OnGetAttachment: TOnGetAttachmentEvent;
C++
__property TOnGetAttachmentEvent OnGetAttachment;

Write an OnGetAttachment event handler to examine the encoded attachments included with an incoming request or to redirect them so that they are saved to a specific file. OnGetAttachment occurs once for each attachment received.

Tip: Use the FileName property of the attachment object to redirect the attachment to a different file.
 

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