IVsParseCommandLine::SwitchHasValue Method (Int32)

 

Tests, by index, whether or not a specific switch has a value.

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

int SwitchHasValue(
	int iIndex
)

Parameters

iIndex
Type: System::Int32

[in] Integer. The index of the switch to check.

Return Value

Type: System::Int32

If the switch has no value, returns S_OK. Otherwise, returns E_FAIL.

From vsshell.idl:

HRESULT IVsParseCommandLine::SwitchHasValue(
   [in] int iIndex
);
Return to top
Show: