OutputWindow.OutputWindowPanes プロパティ

更新 : 2007 年 11 月

OutputWindow オブジェクトの OutputWindowPanes コレクションを取得します。

名前空間 :  EnvDTE
アセンブリ :  EnvDTE (EnvDTE.dll 内)

構文

'宣言
ReadOnly Property OutputWindowPanes As OutputWindowPanes
'使用
Dim instance As OutputWindow
Dim value As OutputWindowPanes

value = instance.OutputWindowPanes
OutputWindowPanes OutputWindowPanes { get; }
property OutputWindowPanes^ OutputWindowPanes {
    OutputWindowPanes^ get ();
}
function get OutputWindowPanes () : OutputWindowPanes

プロパティ値

型 : EnvDTE.OutputWindowPanes

OutputWindowPanes コレクション。

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 and to the Task List.
   OWp.OutputTaskItemString("Some task", vsTaskPriority.vsTaskPriorityHigh, vsTaskCategories.vsTaskCategoryMisc, vsTaskIcon.vsTaskIconComment, "C:\temp", 100, "Some description")
   ' You can also use the 'True' flag on the end of 
   ' OutputTaskItemString rather than using the next line 
   ' (ForceItemsToTaskList).
   OWp.ForceItemsToTaskList()
End Sub

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

OutputWindow インターフェイス

OutputWindow メンバ

EnvDTE 名前空間