IVsParseCommandLine::EvaluateSwitches Method (String^)

 

Evaluates command line switches based on switch definitions.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int EvaluateSwitches(
	String^ szSwitchDefs
)

Parameters

szSwitchDefs
Type: System::String^

[in] String containing the switch definitions.

Return Value

Type: System::Int32

If 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
);
Return to top
Show: