更新指定的菜单命令的状态。
命名空间: Microsoft.VisualStudio.Data.Services.SupportEntities
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Sub UpdateCommandStatus ( _
command As MenuCommand _
)
void UpdateCommandStatus(
MenuCommand command
)
void UpdateCommandStatus(
MenuCommand^ command
)
abstract UpdateCommandStatus :
command:MenuCommand -> unit
function UpdateCommandStatus(
command : MenuCommand
)
参数
- command
类型:System.ComponentModel.Design.MenuCommand
表示命令的 MenuCommand 对象更新。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。