Datasnap.DBClient.TCustomClientDataSet.GetCommandStates
Delphi
function GetCommandStates(const ACommand: string): TDataSetCommandStates; virtual;
C++
virtual Data::Db::TDataSetCommandStates __fastcall GetCommandStates(const System::UnicodeString ACommand);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | protected | Datasnap.DBClient.pas Datasnap.DBClient.hpp |
Datasnap.DBClient | TCustomClientDataSet |
Description
Vérifie si une commande étendue est supportée et activée.
GetCommandStates est utilisée pour vérifier si une commande étendue est supportée et activée, et si les commandes supportées sont activées.
Le paramètre ACommand
est la commande à vérifier.
La méthode renvoie un TDataSetCommandStates.
Si la commande n'est pas supportée, la méthode renvoie un ensemble vide ('[]').