IVsOutputWindowPane.OutputString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes text to the Output window pane.
public:
int OutputString(System::String ^ pszOutputString);
public:
int OutputString(Platform::String ^ pszOutputString);
int OutputString(std::wstring const & pszOutputString);
public int OutputString (string pszOutputString);
abstract member OutputString : string -> int
Public Function OutputString (pszOutputString As String) As Integer
Parameters
- pszOutputString
- String
[in] Text to be appended to the Output window pane.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsOutputWindowPane::OutputString(
[in] LPCOLESTR pszOutputString
);
The output window implementation of this method may briefly run an open message pump before returning to the caller.
The OutputTaskItemString method is used to add text to the Output window that should also be added as items, such as errors and warnings from a build operation, to the task list.