IVsParseCommandLine.GetParamCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of command line parameters.
public:
int GetParamCount([Runtime::InteropServices::Out] int % piParamCount);
int GetParamCount([Runtime::InteropServices::Out] int & piParamCount);
public int GetParamCount (out int piParamCount);
abstract member GetParamCount : int -> int
Public Function GetParamCount (ByRef piParamCount As Integer) As Integer
Parameters
- piParamCount
- Int32
[out] Pointer to an integer containing the parameter count.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsParseCommandLine::GetParamCount(
[out, retval] int* piParamCount
);