Udostępnij za pośrednictwem


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] 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

Microsoft.VisualStudio.TextManager.Interop Namespace