FireDAC.Comp.Client.TFDCustomCommand.MacroByName
Delphi
function MacroByName(const AValue: string): TFDMacro;
C++
Firedac::Stan::Param::TFDMacro* __fastcall MacroByName(const System::UnicodeString AValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomCommand |
Description
Returns a macro according to its name.
The MacroByName method returns a macro from the Macros collection according to its name (AValue
).
If there is no such macro, then an exception is raised.