IVsCommandWindow::Print Method (String^)

 

Prints the specified text to the command window. The command window will be shown if it is not already visible.

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

int Print(
	String^ szTextToPrint
)

Parameters

szTextToPrint
Type: System::String^

[in] 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::Print(
   [in, ref] LPCOLESTR szTextToPrint
);
Return to top
Show: