この記事は翻訳者によって翻訳されたものです。 記事の文章にポインターを重ねると、原文のテキストが表示されます。 |
訳文
原文
|
OutputWindowPanes インターフェイス
このコレクションには、統合開発環境 (IDE: Integrated Development Environment) 内のすべての [出力] ウィンドウ ペインが含まれます。
アセンブリ: EnvDTE (EnvDTE.dll 内)
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