包含集成开发环境 (IDE) 中的所有**“输出”**窗口窗格。
命名空间:  EnvDTE
程序集:  EnvDTE(在 EnvDTE.dll 中)
语法
声明
<GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")> _
Public Interface OutputWindowPanes _
    Inherits IEnumerable
[GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")]
public interface OutputWindowPanes : IEnumerable
[GuidAttribute(L"B02CF62A-9470-4308-A521-9675FBA395AB")]
public interface class OutputWindowPanes : IEnumerable
[<GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")>]
type OutputWindowPanes =  
    interface
        interface IEnumerable
    end
public interface OutputWindowPanes extends IEnumerable
OutputWindowPanes 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Count | 获取指示集合中 OutputWindowPane 对象数的值。 | 
| .gif) | DTE | 获取顶级扩展性对象。 | 
| .gif) | Parent | 获取 OutputWindowPanes 集合的直接父对象。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Add | 创建新的“输出”窗口窗格并将它添加到集合中。 | 
| .gif) | GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。) | 
| .gif) | GetEnumerator() | 返回集合中项的枚举数。 | 
| .gif) | Item | 返回 OutputWindowPanes 集合中的一个 OutputWindowPane 对象。 | 
页首
示例
Sub OutputWindowPanesExample()
   ' Create a tool window handle for the Output window.
   Dim win As Window = DTE.Windows.Item(EnvDTE.Constants.vsWindowKindOutput)
   ' Create handles to the Output window and its panes.
   Dim OW As OutputWindow = win.Object
   Dim OWp As OutputWindowPane
   ' Add a new pane to the Output window.
   OWp = OW.OutputWindowPanes.Add("A New Pane")
   ' Add a line of text to the new pane.
   OWp.OutputString("Some Text")
End Sub