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

'宣言
Function RejectAllSwitches As Integer
'使用
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:

Permissions

See Also

Reference

IVsParseCommandLine Interface

IVsParseCommandLine Members

Microsoft.VisualStudio.Shell.Interop Namespace