Share via


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

'Declaration
Function HasSwitches As Integer
'Usage
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:

.NET Framework Security

See Also

Reference

IVsParseCommandLine Interface

IVsParseCommandLine Members

Microsoft.VisualStudio.Shell.Interop Namespace