Partager 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
int HasSwitches()
int HasSwitches()
abstract HasSwitches : unit -> int
function HasSwitches() : int

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace