ICommandService.CanExecuteCommand(Int32) Método
Definição
Verifica se o comando especificado pode ser executado.Verifies whether the specified command can be executed.
public:
bool CanExecuteCommand(int commandId);
public bool CanExecuteCommand (int commandId);
abstract member CanExecuteCommand : int -> bool
Public Function CanExecuteCommand (commandId As Integer) As Boolean
Parâmetros
- commandId
- Int32
O identificador de comando a ser verificado.The command identifier to be checked.
Retornos
true se o comando especificado puder ser executado; caso contrário, false.true if the specified command can be executed; otherwise, false.
Exceções
Não há suporte para o comando.The command is not supported.