RAD Studio VCL Reference
|
Specifies a file from which TSOAPAttachment can read the content of the attachment.
procedure SetSourceFile(const Value: string); virtual;
virtual __fastcall SetSourceFile(const AnsiString Value);
Call SetSourceFile to supply the content of an attachment that the application sends from a file. SetSourceFile reads the content from the specified file, clears the SourceStream and SourceString properties, and sets the ContentType property to 'Application/binary'. If another MIME type string better describes the data, reset the ContentType property after calling SetSourceFile.
Value is the fully-qualified file name for the file whose content should be sent as an attachment.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|