SimpleCommand 构造函数

命名空间:  Microsoft.TeamFoundation.Build.Controls
程序集:  Microsoft.TeamFoundation.Build.Controls(在 Microsoft.TeamFoundation.Build.Controls.dll 中)

语法

声明
Public Sub New ( _
    canExecute As Func(Of Object, Boolean), _
    execute As Action(Of Object) _
)
public SimpleCommand(
    Func<Object, bool> canExecute,
    Action<Object> execute
)

参数

.NET Framework 安全性

请参阅

参考

SimpleCommand 类

Microsoft.TeamFoundation.Build.Controls 命名空间