Web.Stencils.TWebStencilsProcessor.AddInitFunc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddInitFunc(const AName: string; const AInitFunc: TWebStencilsInitFunc; AOwned: Boolean = True); overload;

C++

void __fastcall AddInitFunc(const System::UnicodeString AName, const _di_TWebStencilsInitFunc AInitFunc, bool AOwned = true)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Web.Stencils.pas
Web.Stencils.hpp
Web.Stencils TWebStencilsProcessor

Description

Adds a new data variable with AName name.

An object is provided by the AInitFunc argument. Properties of the object are available in the template using the '@name.property' syntax. When AOwned is True, then the object is owned by the processor.

See Also