Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Writes text to the Output window pane.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OutputString ( _
pszOutputString As String _
) As Integer
'Usage
Dim instance As IVsOutputWindowPane
Dim pszOutputString As String
Dim returnValue As Integer
returnValue = instance.OutputString(pszOutputString)
int OutputString(
string pszOutputString
)
int OutputString(
[InAttribute] String^ pszOutputString
)
abstract OutputString :
pszOutputString:string -> int
function OutputString(
pszOutputString : String
) : int
Parameters
- pszOutputString
Type: System.String
[in] Text to be appended to the Output window pane.
Return Value
Type: System.Int32
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 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.