CommandSet.ProcessOnStatusExpandCollapseCommand 方法

确定展开或折叠命令是否出现在上下文菜单。调用,当用户右击关系图。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
Protected Overridable Sub ProcessOnStatusExpandCollapseCommand ( _
    command As MenuCommand _
)
protected virtual void ProcessOnStatusExpandCollapseCommand(
    MenuCommand command
)

参数

.NET Framework 安全性

请参见

参考

CommandSet 类

Microsoft.VisualStudio.Modeling.Shell 命名空间