System.Net.Mime.TMultipartFormData.AddFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddFile(const AField, AFilePath: string;
const AContentType: string = ''; AHeaders: TStrings = nil);

C++

void __fastcall AddFile(const System::UnicodeString AField, const System::UnicodeString AFilePath, const System::UnicodeString AContentType = System::UnicodeString(), System::Classes::TStrings* AHeaders = (System::Classes::TStrings*)(0x0));

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.

See Also