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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.