Export (0) Print
Expand All

IVsParseCommandLine.ParseCommandLine Method

Parses the command line as preparation for using other interface methods to retrieve the parsed elements.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int ParseCommandLine (
	[InAttribute] string szCommandLine,
	[InAttribute] int iMaxParams,
	[InAttribute] int iCursorPos
)
int ParseCommandLine (
	/** @attribute InAttribute() */ String szCommandLine, 
	/** @attribute InAttribute() */ int iMaxParams, 
	/** @attribute InAttribute() */ int iCursorPos
)
function ParseCommandLine (
	szCommandLine : String, 
	iMaxParams : int, 
	iCursorPos : int
) : int

Parameters

szCommandLine

[in] String containing the command line to parse.

iMaxParams

[in] Integer—the maximum number of parameters.

iCursorPos

[in] Integer. The character position to begin parsing of the command line.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsParseCommandLine::ParseCommandLine(

   [in, ref] LPCOLESTR szCommandLine,

   [in] int iMaxParams,

   [in] int iCursorPos

);

Community Additions

ADD
Show:
© 2014 Microsoft