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

説明

入力文字列に応じて,作成する内容を返します。 {{#multireplace:Web.HTTPProd.TBasePageProducer.ContentFromString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:Web.HTTPApp.TCustomContentProducer.ContentFromString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:Web.HTTPApp.TCustomContentProducer.ContentFromString|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。

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

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

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

関連項目