Share via


OutputWindow.OutputWindowPanes 속성

OutputWindow 개체의 OutputWindowPanes 컬렉션을 가져옵니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
ReadOnly Property OutputWindowPanes As OutputWindowPanes
OutputWindowPanes OutputWindowPanes { get; }
property OutputWindowPanes^ OutputWindowPanes {
    OutputWindowPanes^ get ();
}
abstract OutputWindowPanes : OutputWindowPanes with 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

.NET Framework 보안

참고 항목

참조

OutputWindow 인터페이스

EnvDTE 네임스페이스