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
- 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.