API:Web.ReqFiles.TWebRequestFile.GetContentType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetContentType: string; override;

C++

virtual System::UnicodeString __fastcall GetContentType();

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.

Web.ReqFiles.TWebRequestFile.GetContentType inherits from Web.HTTPApp.TAbstractWebRequestFile.GetContentType. All content below this line refers to Web.HTTPApp.TAbstractWebRequestFile.GetContentType.

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