RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebResponse.SetContent Method

Provides the abstract (pure virtual) prototype of a method to set the Content property.

Pascal
procedure SetContent(const Value: AnsiString); virtual; abstract;
C++
virtual __fastcall SetContent(const AnsiString Value) = 0;

Descendants of TWebResponse implement SetContent to provide a method for setting the Content property. This method is abstract (pure virtual) because response objects for different types of HTTP applications can store the value of the Content property differently. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!