Share via


IVsParseCommandLine.RejectAllSwitches Method

Tests for whether or not there were any switches.

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

Syntax

'Declaration
Function RejectAllSwitches As Integer
'Usage
Dim instance As IVsParseCommandLine 
Dim returnValue As Integer 

returnValue = instance.RejectAllSwitches()
int RejectAllSwitches()
int RejectAllSwitches()
function RejectAllSwitches() : int

Return Value

Type: System.Int32
If there are no switches, returns S_OK. Otherwise, returns E_FAIL.

Remarks

COM Signature

From vsshell.idl:

.NET Framework Security

See Also

Reference

IVsParseCommandLine Interface

IVsParseCommandLine Members

Microsoft.VisualStudio.Shell.Interop Namespace