IVsParseCommandLine::IsSwitchPresent Method (Int32)
Visual Studio 2015
Queries, by index, whether or not a given switch is present.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- iSwitchIndex
-
Type:
System::Int32
[in] Index of the switch to test.
Return Value
Type: System::Int32Returns S_OK if the switch is present, S_FALSE otherwise. Returns E_INVALIDARG if the index is out of range.
From vsshell.idl:
HRESULT IVsParseCommandLine::IsSwitchPresent( [in] int iSwitchIndex );
Show: