ICommandService.CanExecuteCommand(Int32) Methode

Definitie

Controleert of de opgegeven opdracht kan worden uitgevoerd.

public:
 bool CanExecuteCommand(int commandId);
public bool CanExecuteCommand(int commandId);
abstract member CanExecuteCommand : int -> bool
Public Function CanExecuteCommand (commandId As Integer) As Boolean

Parameters

commandId
Int32

De opdracht-id die moet worden gecontroleerd.

Retouren

true als de opgegeven opdracht kan worden uitgevoerd; anders, false.

Uitzonderingen

De opdracht wordt niet ondersteund.

Van toepassing op