IVsCommandWindowsCollection 接口

操作在 commandwindows 的窗口列出 Visual Studio 维护。您可以获取接口的实例。 SVsCommandWindowsCollection (SID_SVsCommandWindowsCollection) services。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
<GuidAttribute("615FF029-FEFA-492C-8CD2-C3F66644C3F9")> _
<InterfaceTypeAttribute()> _
Public Interface IVsCommandWindowsCollection
[GuidAttribute("615FF029-FEFA-492C-8CD2-C3F66644C3F9")]
[InterfaceTypeAttribute()]
public interface IVsCommandWindowsCollection

IVsCommandWindowsCollection 类型公开以下成员。

方法

  名称 说明
公共方法 Close 关闭指定的命令窗口。
公共方法 CloseAllCommandWindows 关闭所有命令窗口。
公共方法 Create 在指定的模式创建新的命令窗口。
公共方法 GetCommandWindowFromCookie 检索指定 cookie 的命令窗口接口。
公共方法 GetCommandWindowFromMode 检索具有指定模式的命令窗口接口。
公共方法 IsOutputWaiting 确定是否具有输出呈现为指定的窗口。
公共方法 OpenExistingOrCreateNewCommandWindow 打开现有的命令窗口或创建新的。
公共方法 SetRunningCommandWindowCommand 指示命令窗口是否运行 (或不运行) 命令。

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间