IVsCommandWindow::PrintNoShow Method (String^)

 

Does the same thing as Print but does not show or activate the command window.

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

int PrintNoShow(
	String^ szTextToPrint
)

Parameters

szTextToPrint
Type: System::String^

[in] A String containing the text to print.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsCommandWindow::PrintNoShow(
   [in, ref] LPCOLESTR szTextToPrint
);
Return to top
Show: