IVsParseCommandLine.HasSwitches Method

Queries whether or not there are command line switches.

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

Syntax

'宣言
Function HasSwitches As Integer
'使用
Dim instance As IVsParseCommandLine
Dim returnValue As Integer

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

Return Value

Type: System.Int32

Returns S_OK if there are switches, S_FALSE otherwise.

Remarks

COM Signature

From vsshell.idl:

Permissions

See Also

Reference

IVsParseCommandLine Interface

IVsParseCommandLine Members

Microsoft.VisualStudio.Shell.Interop Namespace