Share via


IVsOutputWindowPane.Activate Method

Shows and activates the Output window pane.

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

Syntax

'Declaration
Function Activate As Integer
int Activate()
int Activate()
abstract Activate : unit -> int
function Activate() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Calling this method on an output window pane will not force the Output window itself to become visible if it is not visible already. If this output window pane was originally created as a hidden pane, calling this method makes it the selected and visible pane inside the Output window.

.NET Framework Security

See Also

Reference

IVsOutputWindowPane Interface

Microsoft.VisualStudio.Shell.Interop Namespace