IVsParseCommandLine::ParseCommandLine Method (String^, Int32, Int32)
Visual Studio 2015
Parses the command line as preparation for using other interface methods to retrieve the parsed elements.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- szCommandLine
-
Type:
System::String^
[in] String containing the command line to parse.
- iMaxParams
-
Type:
System::Int32
[in] Integer—the maximum number of parameters.
- iCursorPos
-
Type:
System::Int32
[in] Integer. The character position to begin parsing of the command line.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsParseCommandLine::ParseCommandLine(
[in, ref] LPCOLESTR szCommandLine,
[in] int iMaxParams,
[in] int iCursorPos
);
Show: