CommandHandlerHelper.UpdateCommand 方法 (CommandHandler.Command, ICommand, Object, CommandState)

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

语法

声明
Public Shared Sub UpdateCommand ( _
    command As CommandHandler.Command, _
    relatedCommand As ICommand, _
    canExecuteParameter As Object, _
    defaultState As CommandState _
)
public static void UpdateCommand(
    CommandHandler.Command command,
    ICommand relatedCommand,
    Object canExecuteParameter,
    CommandState defaultState
)

参数

  • canExecuteParameter
    类型:System.Object
    通过的可选参数为ICommand.CanExecute

.NET Framework 安全性

请参见

参考

CommandHandlerHelper 类

UpdateCommand 重载

Microsoft.VisualStudio.TeamFoundation 命名空间