Web.ReqFiles.TWebRequestFile.GetContentType

From RAD Studio API Documentation

Delphi

function GetContentType: AnsiString; override;

C++

virtual System::AnsiString __fastcall GetContentType(void);

Properties

Type Visibility Source Unit Parent
function protected
Web.ReqFiles.pas
Web.ReqFiles.hpp
Web.ReqFiles TWebRequestFile

Description

Returns the value of the ContentType property. {{#multireplace:Web.ReqFiles.TWebRequestFile.GetContentType|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Web.HTTPApp.TAbstractWebRequestFile.GetContentType|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Web.HTTPApp.TAbstractWebRequestFile.GetContentType|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Returns the value of the ContentType property.

GetContentType is the protected read implementation for the ContentType property.

In TAbstractWebRequestFile, GetContentType is abstract or, in C++ terminology, pure virtual, meaning it has no implementation. Descendant classes must override this method to provide an implementation for the ContentType property.

See Also