Web.Stencils.TWebStencilsProcessor.AddInitFunc
Delphi
procedure AddInitFunc(const AName: string; const AInitFunc: TWebStencilsInitFunc;
AOwned: Boolean = True); overload;
procedure AddInitFunc(const AName: string; const AInitFunc: TWebStencilsInitFunc;
AOwned: Boolean; const ALookupFunc: TWebStencilsLookupFunc); overload;
C++
void __fastcall AddInitFunc(const System::UnicodeString AName, const _di_TWebStencilsInitFunc AInitFunc, bool AOwned = true)/* overload */;
void __fastcall AddInitFunc(const System::UnicodeString AName, const _di_TWebStencilsInitFunc AInitFunc, bool AOwned, const _di_TWebStencilsLookupFunc ALookupFunc)/* overload */;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
procedure function |
public | Web.Stencils.pas Web.Stencils.hpp |
Web.Stencils | TWebStencilsProcessor |
説明
名前 AName の新しいデータ変数を追加します。
オブジェクトは AInitFunc 引数によって提供されます。オブジェクトのプロパティは、テンプレート内では '@name.property' 構文で使用できます。 AOwned が True の場合、オブジェクトはプロセッサによって所有されます。