Skip to content

TDaemonDefs.FindDaemonDef

Find and return instance of daemon definition with given name.

Declaration

Source position: daemonapp.pp line 294

public 
function TDaemonDefs.FindDaemonDef(const DaemonName: string)
                                   : TDaemonDef;

Description

FindDaemonDef searches the list of daemon definitions and returns the TDaemonDef instance whose name matches DaemonName. If no definition is found, Nil is returned.

See also

Name Description
TDaemonDefs.IndexOfDaemonDef Return index of daemon definition.
TDaemonDefs.DaemonDefByName Find and return instance of daemon definition with given name.