次の方法で共有


IVsThreadSafeCommandWindow.ThreadSafePrintNoShow(String) Method

Definition

Like PrintNoShow(String), but may be called on any thread.

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

Parameters

szTextToPrint
String

[in] The text to be printed.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsThreadSafeCommandWindow::ThreadSafePrintNoShow(  
   [in, ref] LPCOLESTR szTextToPrint  
);  

Applies to