IVsParseCommandLine.EvaluateSwitches(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Evaluates command line switches based on switch definitions.
public:
int EvaluateSwitches(System::String ^ szSwitchDefs);
public:
int EvaluateSwitches(Platform::String ^ szSwitchDefs);
int EvaluateSwitches(std::wstring const & szSwitchDefs);
public int EvaluateSwitches (string szSwitchDefs);
abstract member EvaluateSwitches : string -> int
Public Function EvaluateSwitches (szSwitchDefs As String) As Integer
Parameters
- szSwitchDefs
- String
[in] String containing the switch definitions.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
Use GetSwitchValue and related methods to retrieve values of particular switches.
COM Signature
From vsshell.idl:
HRESULT IVsParseCommandLine::EvaluateSwitches(
[in, ref] LPCOLESTR szSwitchDefs
);