次の方法で共有


OutputWindowPanes インターフェイス

このコレクションには、統合開発環境 (IDE: Integrated Development Environment) 内のすべての [出力] ウィンドウ ペインが含まれます。

名前空間:  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 型で公開されるメンバーは以下のとおりです。

プロパティ

  名前 説明
パブリック プロパティ Count コレクション内の OutputWindowPane オブジェクトの数を示す値を取得します。
パブリック プロパティ DTE トップ レベルの機能拡張オブジェクトを取得します。
パブリック プロパティ Parent OutputWindowPanes コレクションの直接の親オブジェクトを取得します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Add 新しい [出力] ウィンドウ ペインを作成し、コレクションに追加します。
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable から継承されます。)
パブリック メソッド GetEnumerator() コレクション内の項目の列挙子を返します。
パブリック メソッド 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

参照

関連項目

EnvDTE 名前空間