TDaemonDefs.DaemonDefByName¶
Find and return instance of daemon definition with given name.
Declaration¶
Source position: daemonapp.pp line 295
public
function TDaemonDefs.DaemonDefByName(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, an EDaemon exception is raised.
The FindDaemonDef call does not raise an error, but returns Nil instead.
See also¶
| Name | Description |
|---|---|
| TDaemonDefs.IndexOfDaemonDef | Return index of daemon definition. |
| TDaemonDefs.FindDaemonDef | Find and return instance of daemon definition with given name. |