IVsParseCommandLine::SwitchHasValue Method (Int32)
Visual Studio 2015
Tests, by index, whether or not a specific switch has a value.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- iIndex
-
Type:
System::Int32
[in] Integer. The index of the switch to check.
Return Value
Type: System::Int32If the switch has no value, returns S_OK. Otherwise, returns E_FAIL.
From vsshell.idl:
HRESULT IVsParseCommandLine::SwitchHasValue( [in] int iIndex );
Show: