共用方式為


IVsMethodData.GetParameterCount(Int32) Method

Definition

Returns the total number of parameters in a specified method.

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

Parameters

iMethod
Int32

[in] The number of the method for which to get parameter count.

Returns

Returns the number of parameters in the method.

Remarks

COM Signature

From textmgr.idl:

long IVsMethodData::GetParameterCount(   
   [in] long iMethod   
);  

Applies to