IVsParseCommandLine::EvaluateSwitches Method (String^)
Visual Studio 2015
Evaluates command line switches based on switch definitions.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- szSwitchDefs
-
Type:
System::String^
[in] String containing the switch definitions.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Use GetSwitchValue and related methods to retrieve values of particular switches.
From vsshell.idl:
HRESULT IVsParseCommandLine::EvaluateSwitches(
[in, ref] LPCOLESTR szSwitchDefs
);
Show: