FireDAC.Comp.Script.TFDScriptCommandRegistry.LookupCommand

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
FireDAC.Comp.Script.pas
FireDAC.Comp.Script.hpp
Unit: FireDAC.Comp.Script
Parent: TFDScriptCommandRegistry

Delphi

function LookupCommand(const AStr: String;
out ACommand: TFDScriptCommandClass): TFDScriptCommandLookupRes;

C++

TFDScriptCommandLookupRes __fastcall LookupCommand(const System::UnicodeString AStr, /* out */ TFDScriptCommandClass &ACommand);

Description

Finds a command class by the command name.

The LookupCommand method is used by the TFDScript to find the registered command class by its keyword.

See Also