Unit 'fpWeb' Package
[Overview][Resource strings][Types][Classes][Index] [#fcl]

TTemplateVar

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Template variable with name and value

Declaration

Source position: fpweb.pp line 79

type TTemplateVar = class(TCollectionItem)

public

  procedure Assign(); override;

  

Assigns properties from another template variable

  function GetDisplayName; override;

  

Returns the display name for this template variable

published

  property Name: string; [rw]

  

The name of the template variable

  property Value: string; [rw]

  

The value of the template variable

end;

Inheritance

TTemplateVar

  

Template variable with name and value

|

TCollectionItem

|

TPersistent

|

TObject,IFPObserved

Description

TTemplateVar represents a single template variable that can be used in template processing. Each variable has a name and a corresponding value that will be substituted during template processing.

See also

TTemplateVars

  

Collection of template variables

TFPTemplate


Documentation generated on: Jan 27 2026