共用方式為


IVsDataViewCommandProvider.UpdateCommandStatus 方法

更新指定的功能表命令的狀態。

命名空間:  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
)

參數

.NET Framework 安全性

請參閱

參考

IVsDataViewCommandProvider 介面

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間