IVsParseCommandLine::GetParamCount Method (Int32)

 

Gets the number of command line parameters.

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

int GetParamCount(
	[OutAttribute] int% piParamCount
)

Parameters

piParamCount
Type: System::Int32

[out] Pointer to an integer containing the parameter count.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsParseCommandLine::GetParamCount(
   [out, retval] int* piParamCount
);
Return to top
Show: