共用方式為


CommandContextChangedEventArgs 建構函式

建構函式。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Public Sub New ( _
    cookie As UInteger, _
    active As Boolean _
)
public CommandContextChangedEventArgs(
    uint cookie,
    bool active
)

參數

  • cookie
    型別:System.UInt32
    相對於正在變更的命令內容的 cookie。
  • active
    型別:System.Boolean
    True 如果使其無法啟動的指令內容、 false,即使內容已被停用了。

.NET Framework 安全性

請參閱

參考

CommandContextChangedEventArgs 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間