IVsParseCommandLine.IsSwitchPresent(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.
Queries, by index, whether or not a given switch is present.
public:
int IsSwitchPresent(int iSwitchIndex);
public:
int IsSwitchPresent(int iSwitchIndex);
int IsSwitchPresent(int iSwitchIndex);
public int IsSwitchPresent (int iSwitchIndex);
abstract member IsSwitchPresent : int -> int
Public Function IsSwitchPresent (iSwitchIndex As Integer) As Integer
Parameters
- iSwitchIndex
- Int32
[in] Index of the switch to test.
Returns
Returns S_OK if the switch is present, S_FALSE otherwise. Returns E_INVALIDARG if the index is out of range.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsParseCommandLine::IsSwitchPresent(
[in] int iSwitchIndex
);