API:Datasnap.DSHTTP.TDSHTTPResponseIndy.SetContentType

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

procedure SetContentType(const Value: string); override;

C++

virtual void __fastcall SetContentType(const System::UnicodeString Value);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
procedure
function
class protected
Datasnap.DSHTTP.pas
Datasnap.DSHTTP.hpp
Datasnap.DSHTTP TDSHTTPResponseIndy

Beschreibung

Setzt den Wert der Eigenschaft ContentType auf den im Parameter angegeben Wert.

Datasnap.DSHTTP.TDSHTTPResponseIndy.SetContentType erbt von Datasnap.DSHTTPCommon.TDSHTTPResponse.SetContentType. Der folgende Inhalt bezieht sich auf Datasnap.DSHTTPCommon.TDSHTTPResponse.SetContentType.

Setzt den Wert der Eigenschaft ContentType auf den im Parameter angegeben Wert.

Die Methode SetContentType ist die Schreibimplementierung der Eigenschaft ContentType.

Siehe auch