共用方式為


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
)

參數

  • command
    類型:MenuCommand

    表示命令的 MenuCommand 更新物件。

.NET Framework 安全性

請參閱

參考

IVsDataViewCommandProvider 介面

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