Methods.GetParameterCount(Int32) Method

Definition

When implemented in a derived class, gets the number of parameters on the specified method signature.

public:
 abstract int GetParameterCount(int index);
public:
 abstract int GetParameterCount(int index);
 abstract int GetParameterCount(int index);
public abstract int GetParameterCount (int index);
abstract member GetParameterCount : int -> int
Public MustOverride Function GetParameterCount (index As Integer) As Integer

Parameters

index
Int32

[in] An index into the list of method signatures.

Returns

The number of parameters on the specified method signature, or -1.

Remarks

This method is used to track where the user is in the parameter list when entering a method's parameters.

Applies to