IVsParseCommandLine.ValidateParamCount(Int32, 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.
Verify the parameter count is within a specific range.
public:
int ValidateParamCount(int cParamsMin, int cParamsMax);
public:
int ValidateParamCount(int cParamsMin, int cParamsMax);
int ValidateParamCount(int cParamsMin, int cParamsMax);
public int ValidateParamCount (int cParamsMin, int cParamsMax);
abstract member ValidateParamCount : int * int -> int
Public Function ValidateParamCount (cParamsMin As Integer, cParamsMax As Integer) As Integer
Parameters
- cParamsMin
- Int32
[in] The minimum number of parameters.
- cParamsMax
- Int32
[in] The maximum number of parameters.
Returns
If the parameter count is within the range, returns S_OK. Returns E_FAIL otherwise.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsParseCommandLine::ValidateParamCount(
[in] int cParamsMin,
[in] int cParamsMax
);