Datasnap.DSHTTPWebBroker.TDSHTTPResponseWebBroker.SetContentType
Delphi
procedure SetContentType(const Value: string); override;
C++
virtual void __fastcall SetContentType(const System::UnicodeString Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
class protected | Datasnap.DSHTTPWebBroker.pas Datasnap.DSHTTPWebBroker.hpp |
Datasnap.DSHTTPWebBroker | TDSHTTPResponseWebBroker |
Description
Sets the value of the ContentType property to the one specified through the parameter.
Datasnap.DSHTTPWebBroker.TDSHTTPResponseWebBroker.SetContentType inherits from Datasnap.DSHTTPCommon.TDSHTTPResponse.SetContentType. All content below this line refers to Datasnap.DSHTTPCommon.TDSHTTPResponse.SetContentType.
Sets the value of the ContentType property to the one specified through the parameter.
The SetContentType method is the write implementation of the ContentType property.