FireDAC.Stan.Param.TFDMacros.MacroByName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MacroByName(const AValue: String): TFDMacro;

C++

TFDMacro* __fastcall MacroByName(const System::UnicodeString AValue);

Properties

Type Visibility Source Unit Parent
function public
FireDAC.Stan.Param.pas
FireDAC.Stan.Param.hpp
FireDAC.Stan.Param TFDMacros

Description

Searches for a TFDMacro in the TFDMacros component.

The MacroByName method calls the FindMacro method and returns a TFDMacro object. If the macro is not found, an exception is thrown.

See Also