Partilhar via


IVsCommandWindow.Print(String) Method

Definition

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

public:
 int Print(System::String ^ szTextToPrint);
public:
 int Print(Platform::String ^ szTextToPrint);
int Print(std::wstring const & szTextToPrint);
public int Print (string szTextToPrint);
abstract member Print : string -> int
Public Function Print (szTextToPrint As String) As Integer

Parameters

szTextToPrint
String

[in] String containing the text to print.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsCommandWindow::Print(  
   [in, ref] LPCOLESTR szTextToPrint  
);  

Applies to