共用方式為


IVsOutputWindowPane Interface

Allows a VSPackage to manipulate a particular Output window pane.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("9B878A55-296A-404D-80C4-1468BB7CDC43")> _
Public Interface IVsOutputWindowPane
[InterfaceTypeAttribute()]
[GuidAttribute("9B878A55-296A-404D-80C4-1468BB7CDC43")]
public interface IVsOutputWindowPane
[InterfaceTypeAttribute()]
[GuidAttribute(L"9B878A55-296A-404D-80C4-1468BB7CDC43")]
public interface class IVsOutputWindowPane
[<InterfaceTypeAttribute()>]
[<GuidAttribute("9B878A55-296A-404D-80C4-1468BB7CDC43")>]
type IVsOutputWindowPane =  interface end
public interface IVsOutputWindowPane

The IVsOutputWindowPane type exposes the following members.

Methods

  Name Description
Public method Activate Shows and activates the Output window pane.
Public method Clear Removes all text from the Output window pane.
Public method FlushToTaskList Causes any output messages that were added by means of a call to the OutputTaskItemString method to be added as tasks to the task list tool window.
Public method GetName Returns the name of the window pane.
Public method Hide Hides the Output window pane.
Public method OutputString Writes text to the Output window pane.
Public method OutputStringThreadSafe Thread safe method to write text to the Output window pane.
Public method OutputTaskItemString Adds a string to the Output window and a corresponding item to the task list.
Public method OutputTaskItemStringEx Adds a string to the Output window and a corresponding item to the task list.
Public method SetName Changes the existing name of the window pane.

Top

Remarks

This interface is implemented by a pane in the Output Window. An example pane is the Solution Build Output pane. All projects that participate in build output status messages to this pane.

Notes to Callers

VSPackage implementers.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace