RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebRequestFile.GetContentType Method

Returns the value of the ContentType property.

Pascal
function GetContentType: string; override;
C++
virtual __fastcall AnsiString GetContentType();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!