ICommandService.CanExecuteCommand(Int32) メソッド

定義

指定したコマンドを実行できるかどうかを確認します。

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

パラメーター

commandId
Int32

チェックするコマンド識別子。

返品

true 指定したコマンドを実行できる場合。それ以外の場合は false

例外

このコマンドはサポートされていません。

適用対象