System.Net.Mime.TMultipartFormData.AddFile
Delphi
procedure AddFile(const AField, AFilePath: string; const AContentType: string = '');
C++
void __fastcall AddFile(const System::UnicodeString AField, const System::UnicodeString AFilePath, const System::UnicodeString AContentType = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Net.Mime.pas System.Net.Mime.hpp |
System.Net.Mime | TMultipartFormData |
Description
Adds a file field to the form data with the specified field name and the content of the file on the specified path.