Skip to content

TDictionary.GetValue

Retrieves substituted value for dictionary entry

Declaration

Source position: fpmkunit.pp line 587

public 
function GetValue(AName: string) : string;

function GetValue(const AName: string; const Args: string) : string
                 ;  virtual;

Description

Retrieves the value for the specified dictionary entry name. For variables, returns the stored string value. For functions, executes the callback with the provided arguments and returns the computed result.

Raises an exception if the requested entry name is not found in the dictionary.