API:Web.HTTPProd.TBasePageProducer.ContentFromString

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

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

プロパティ

種類 可視性 ソース ユニット
function public
Web.HTTPProd.pas
Web.HTTPProd.hpp
Web.HTTPProd TBasePageProducer

説明

入力文字列に応じて,作成する内容を返します。

Web.HTTPProd.TBasePageProducer.ContentFromString は Web.HTTPApp.TCustomContentProducer.ContentFromString を継承しています。以下の内容はすべて Web.HTTPApp.TCustomContentProducer.ContentFromString を参照しています。

入力文字列に応じて,作成する内容を返します。

ContentFromString メソッドを呼び出すと,S パラメータが提供する情報に基づいて,コンテンツプロデューサが作成する内容を取り出すことができます。TCustomContentProducer はこの文字列を無視し,Content メソッドが作成する値を返します。

TCustomContentProducer の下位オブジェクトは,このメソッドをオーバーライドして入力文字列を独自の方法で解釈します。

関連項目