Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Verify the parameter count is within a specific range.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function ValidateParamCount ( _
cParamsMin As Integer, _
cParamsMax As Integer _
) As Integer
'Usage
Dim instance As IVsParseCommandLine
Dim cParamsMin As Integer
Dim cParamsMax As Integer
Dim returnValue As Integer
returnValue = instance.ValidateParamCount(cParamsMin, _
cParamsMax)
int ValidateParamCount(
int cParamsMin,
int cParamsMax
)
int ValidateParamCount(
[InAttribute] int cParamsMin,
[InAttribute] int cParamsMax
)
abstract ValidateParamCount :
cParamsMin:int *
cParamsMax:int -> int
function ValidateParamCount(
cParamsMin : int,
cParamsMax : int
) : int
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.Int32
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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.