Partager 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
int RejectAllSwitches()
int RejectAllSwitches()
abstract RejectAllSwitches : unit -> int
function RejectAllSwitches() : int

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace