다음을 통해 공유


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

‘선언
Function GetParameterCount ( _
    iMethod As Integer _
) As Integer
‘사용 방법
Dim instance As IVsMethodData
Dim iMethod As Integer
Dim returnValue As Integer

returnValue = instance.GetParameterCount(iMethod)
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] Long containing the requested number of parameters.

Return Value

Type: System.Int32

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsMethodData Interface

IVsMethodData Members

Microsoft.VisualStudio.TextManager.Interop Namespace