Share via


OutputWindowPane 인터페이스

업데이트: 2007년 11월

출력 창에 포함된 창을 나타냅니다.

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

구문

<GuidAttribute("FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")> _
Public Interface OutputWindowPane

Dim instance As OutputWindowPane
[GuidAttribute("FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")]
public interface OutputWindowPane
[GuidAttribute(L"FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")]
public interface class OutputWindowPane
public interface OutputWindowPane

설명

출력 창에는 텍스트 출력이 표시됩니다. 또한 출력 창은 OutputWindowPane 개체로 표현되는 창을 하나 이상 포함할 수 있습니다. 각 IDE 도구에서는 서로 다른 출력 창을 사용하고 출력 창의 맨 위에 있는 드롭다운 상자에서 창을 선택할 수 있습니다. 예를 들어 빌드 오류는 빌드 오류 창에 포함되어 있고 각 외부 명령 도구는 고유의 출력 창에 포함되어 있습니다.

예제

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

참고 항목

참조

OutputWindowPane 멤버

EnvDTE 네임스페이스