Web.Stencils.TWebStencilsProcessor.DataVars
Delphi
property DataVars: TWebStencilsDataVars read FDataVars;
C++
__property TWebStencilsDataVars* DataVars = {read=FDataVars};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Web.Stencils.pas Web.Stencils.hpp |
Web.Stencils | TWebStencilsProcessor |
Description
A dictionary holding a collection of script variables mapped to objects that can provide data to the processor.
These can be either Delphi objects or datasets. The dictionary ties a name (used to refer to these objects inside the HTML) to the object itself.
- In the case of an object, the second part of the dot notation will refer to a property, and the engine uses RTTI to read the value.
- In the case of a dataset, the second part of the dot notation will refer to the name of a field, and the engine will use AsString to access the field value.