Web.Stencils.WebStencilsVarAttribute

Delphi
WebStencilsVarAttribute = class(TCustomAttribute)
C++
class PASCALIMPLEMENTATION WebStencilsVarAttribute : public System::TCustomAttribute
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Web.Stencils.pas Web.Stencils.hpp |
Web.Stencils | Web.Stencils |
Description
Attribute class used by AddModule
methods to filter module members.
Only members with the [WebStencilsVar]
attribute will be added to data variables.
When the AName argument is specified, it will be used as a variable name; otherwise, the member name is used. When the AWebStencilsOwned argument is specified, it will be used as a variable object ownership. Otherwise, the module is the object owner.
Note: The WebStencilsVar attribute cannot be used in C++ code. Instead, use the TWebStencilsDataVars.AddVar, TWebStencilsDataVars.AddInitFunc methods.