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.

Call ContentFromString to retrieve the content produced by the content producer based on the information provided by the S parameter.

When the ScriptEngine property is assigned, the page producer generates its content using a special script-producer component. When ScriptEngine is not assigned, the page producer uses only the OnHTMLTag event, plus any other built-in translations provided by a descendant class.

See Also