API:Web.HTTPProd.TBasePageProducer.ContentFromString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ContentFromString(const S: string): string; override;

C++

virtual System::UnicodeString __fastcall ContentFromString(const System::UnicodeString S);

Properties

Type Visibility Source Unit Parent
function public
Web.HTTPProd.pas
Web.HTTPProd.hpp
Web.HTTPProd TBasePageProducer

Description

Returns the content produced in response to an input string.

Web.HTTPProd.TBasePageProducer.ContentFromString inherits from Web.HTTPApp.TCustomContentProducer.ContentFromString. All content below this line refers to Web.HTTPApp.TCustomContentProducer.ContentFromString.

Returns the content produced in response to an input string.

Call ContentFromString to retrieve the content produced by the content producer based on the information provided by the S parameter. TCustomContentProducer ignores the string and returns the value created by the Content method.

Descendants of TCustomContentProducer override this method to interpret the input string in their own way.

See Also