MethodData.GetParameterCount(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.
Returns the number of parameters available for the specified method signature.
public:
virtual int GetParameterCount(int method);
public:
int GetParameterCount(int method);
int GetParameterCount(int method);
public int GetParameterCount (int method);
abstract member GetParameterCount : int -> int
override this.GetParameterCount : int -> int
Public Function GetParameterCount (method As Integer) As Integer
Parameters
Returns
If successful, returns the number of parameters; otherwise, returns 0.
Implements
Remarks
This method is an implementation of the GetParameterCount method on the IVsMethodData interface.
The base method makes sure the method parameter is valid and there is a Methods object. The base method then forwards the call to the GetParameterCount method on the Methods object that was passed to the Refresh method.