IVsLaunchPadOutputParser.ParseOutputStringForInfo Method

Definition

Calls ParseOutputStringForInfo to the launch pad If task item text is returned, the launch pad creates a task list item by using the information it returned. If only filename and line number information is returned, the launch pad adds the line to the output window and uses the filename and line number as the navigation information for the output line.

int ParseOutputStringForInfo(std::wstring const & pszOutputString, std::Array <std::wstring const &> const & pbstrFilename, std::Array <unsigned int> const & pnLineNum, std::Array <unsigned int> const & pnPriority, std::Array <std::wstring const &> const & pbstrTaskItemText, std::Array <std::wstring const &> const & pbstrHelpKeyword);
public int ParseOutputStringForInfo (string pszOutputString, string[] pbstrFilename, uint[] pnLineNum, uint[] pnPriority, string[] pbstrTaskItemText, string[] pbstrHelpKeyword);
abstract member ParseOutputStringForInfo : string * string[] * uint32[] * uint32[] * string[] * string[] -> int
Public Function ParseOutputStringForInfo (pszOutputString As String, Optional pbstrFilename As String(), Optional pnLineNum As UInteger(), Optional pnPriority As UInteger(), Optional pbstrTaskItemText As String(), Optional pbstrHelpKeyword As String()) As Integer

Parameters

pszOutputString
String

[in] One line of output text.

pbstrFilename
String[]

[out] Fully qualified file name for task list item (may be null).

pnLineNum
UInt32[]

[out] File line number for task list item (may be null).

pnPriority
UInt32[]

[out] Priority for task list item (may be null).

pbstrTaskItemText
String[]

[out] Description text for task list item (may be null).

pbstrHelpKeyword
String[]

[out] Help keyword for task list item (may be null).

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsLaunchPadOutputParser::ParseOutputStringForInfo(  
   [in] LPCOLESTR pszOutputString,   
   [out] BSTR *pbstrFilename,   
   [out] ULONG *pnLineNum,   
   [out] ULONG *pnPriority,   
   [out] BSTR *pbstrTaskItemText,   
   [out] BSTR *pbstrHelpKeyword  
);  

Applies to