RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRIO.OnGetAttachment Event

Occurs when TRIO reads each attachment included in the results from executing a method of the invokable interface.

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

Write an OnGetAttachment event handler to examine the encoded attachments included in the results from executing a method call or to redirect them so that they are saved to a specific file. OnGetAttachment occurs once for each attachment received in the results from a call to the Execute method of the interface that the WebNode property specifies. All OnGetAttachment events occur before the OnAfterExecute event. 

 

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