IVsParseCommandLine::ValidateParamCount Method (Int32, Int32)
Visual Studio 2015
Verify the parameter count is within a specific range.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- cParamsMin
-
Type:
System::Int32
[in] The minimum number of parameters.
- cParamsMax
-
Type:
System::Int32
[in] The maximum number of parameters.
Return Value
Type: System::Int32If the parameter count is within the range, returns S_OK. Returns E_FAIL otherwise.
From vsshell.idl:
HRESULT IVsParseCommandLine::ValidateParamCount( [in] int cParamsMin, [in] int cParamsMax );
Show: