Soap.SOAPPasInv.TSoapPascalInvoker.OnGetAttachment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetAttachment: TOnGetAttachmentEvent read FOnGetAttachment write FOnGetAttachment;

C++

__property Soap::Soapattachintf::TOnGetAttachmentEvent OnGetAttachment = {read=FOnGetAttachment, write=FOnGetAttachment};

Properties

Type Visibility Source Unit Parent
event published
Soap.SOAPPasInv.pas
Soap.SOAPPasInv.hpp
Soap.SOAPPasInv TSoapPascalInvoker

Description

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

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.

See Also