IVsParseCommandLine.SwitchHasValue(Int32) 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.
Tests, by index, whether or not a specific switch has a value.
public:
int SwitchHasValue(int iIndex);
public:
int SwitchHasValue(int iIndex);
int SwitchHasValue(int iIndex);
public int SwitchHasValue (int iIndex);
abstract member SwitchHasValue : int -> int
Public Function SwitchHasValue (iIndex As Integer) As Integer
Parameters
- iIndex
- Int32
[in] Integer. The index of the switch to check.
Returns
If the switch has no value, returns S_OK. Otherwise, returns E_FAIL.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsParseCommandLine::SwitchHasValue(
[in] int iIndex
);