IVsMethodData.GetParameterCount Method
Returns the total number of parameters in a specified method.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Function GetParameterCount ( _
iMethod As Integer _
) As Integer
int GetParameterCount(
int iMethod
)
int GetParameterCount(
[InAttribute] int iMethod
)
abstract GetParameterCount :
iMethod:int -> int
function GetParameterCount(
iMethod : int
) : int
Parameters
iMethod
Type: System.Int32[in] The number of the method for which to get parameter count.
Return Value
Type: System.Int32
Returns the number of parameters in the method.
Remarks
COM Signature
From textmgr.idl:
long IVsMethodData::GetParameterCount(
[in] long iMethod
);
.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.