IVsParseCommandLine.HasParams Method

Queries whether or not there are command line parameters.

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

Syntax

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

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

Return Value

Type: System.Int32

Returns S_OK if there are parameters, S_FALSE otherwise.

Remarks

COM Signature

From vsshell.idl:

Permissions

See Also

Reference

IVsParseCommandLine Interface

IVsParseCommandLine Members

Microsoft.VisualStudio.Shell.Interop Namespace