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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。