DataSourceView.CanExecute(String) 方法

定义

确定是否可以执行指定的命令。

public:
 virtual bool CanExecute(System::String ^ commandName);
public virtual bool CanExecute(string commandName);
abstract member CanExecute : string -> bool
override this.CanExecute : string -> bool
Public Overridable Function CanExecute (commandName As String) As Boolean

参数

commandName
String

命令的名称。

返回

true 如果可以执行命令,则为否则,为 false.

适用于