Web.HTTPApp.TCustomContentProducer.ContentFromString

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

Delphi

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

C++

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

プロパティ

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

説明

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

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

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

関連項目