この記事は翻訳者によって翻訳されたものです。 記事の文章にポインターを重ねると、原文のテキストが表示されます。 |
訳文
原文
|
OutputWindow インターフェイス
統合開発環境 (IDE: Integrated Development Environment) の出力ウィンドウを表します。
アセンブリ: EnvDTE (EnvDTE.dll 内)
OutputWindow 型で公開されるメンバーは以下のとおりです。
| 名前 | 説明 | |
|---|---|---|
|
ActivePane | OutputWindow で直前にアクティブになっていたペインを取得します。 |
|
DTE | トップレベルの機能拡張オブジェクトを取得します。 |
|
OutputWindowPanes | OutputWindow オブジェクトの OutputWindowPanes コレクションを取得します。 |
|
Parent | OutputWindow オブジェクトの直接の親オブジェクトを取得します。 |
Sub OutputWindowExample() ' 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