この記事は翻訳者によって翻訳されたものです。 記事の文章にポインターを重ねると、原文のテキストが表示されます。 |
訳文
原文
|
OutputWindowPane インターフェイス
[出力] ウィンドウのペインを表します。
アセンブリ: EnvDTE (EnvDTE.dll 内)
OutputWindowPane 型で公開されるメンバーは以下のとおりです。
| 名前 | 説明 | |
|---|---|---|
|
Collection | このプロパティをサポートしている OutputWindowPane オブジェクトを含んでいるコレクションを取得します。 |
|
DTE | トップ レベルの機能拡張オブジェクトを取得します。 |
|
Guid | OutputWindowPane オブジェクトの GUID を取得します。 |
|
Name | OutputWindowPane オブジェクトの名前を取得します。 |
|
TextDocument | OutputWindowPane の TextDocument オブジェクトを取得します。 |
| 名前 | 説明 | |
|---|---|---|
|
Activate | 現在の項目にフォーカスを移します。 |
|
Clear | OutputWindowPane のすべてのテキストを消去します。 |
|
ForceItemsToTaskList | タスク リストにまだ追加されていない、すべてのタスク アイテムを送ります。 |
|
OutputString | テキスト文字列を OutputWindowPane ウィンドウに送ります。 |
|
OutputTaskItemString | 出力ウィンドウに文字列を表示し、対応するアイテムをタスク一覧に追加します。 |
Sub OutputWindowPaneExample() ' 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