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());
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | System.Net.Mime.pas System.Net.Mime.hpp |
System.Net.Mime | TMultipartFormData |
Beschreibung
Fügt den Formulardaten ein Dateifeld mit dem angegebenen Feldnamen und dem Inhalt der Datei aus dem angegebenen Pfad hinzu.