Datasnap.DSHTTPWebBroker.TDSHTTPResponseWebBroker.SetContentType

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: class protected
Source:
Datasnap.DSHTTPWebBroker.pas
Datasnap.DSHTTPWebBroker.hpp
Unit: Datasnap.DSHTTPWebBroker
Parent: TDSHTTPResponseWebBroker

Delphi

procedure SetContentType(const Value: string); override;

C++

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

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.

See Also