Soap.InvokeRegistry.TSOAPAttachment.Init

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Init(ATempLocation: string; AHeaders: TStrings; AContentType: String;
AEncoding: InvString);

C++

void __fastcall Init(System::UnicodeString ATempLocation, System::Classes::TStrings* AHeaders, System::UnicodeString AContentType, System::UnicodeString AEncoding);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TSOAPAttachment

Description

Initializes the properties of a TSOAPAttachment instance.

Init sets the values of the CacheFile, Headers, ContentType, and Encoding properties to the values supplied as parameters. It is used internally to initialize a TSOAPAttachment instance to describe an attachment that the application received.

ATempLocation is the name of the temporary file where the attachment has been stored. It becomes the value of the CacheFile property.

AHeaders lists the headers from the portion of the multipart form that represented this attachment. It becomes the value of the Headers property.

AContentType is the content-type of the attachment. It becomes the value of the ContentType property.

AEncoding is the character set encoding used for the attachment. It becomes the value of the Encoding property.

See Also