Partager via


IVsMethodData.GetCurrentParameter Method

Returns the current parameter number.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function GetCurrentParameter ( _
    iMethod As Integer _
) As Integer
'Utilisation
Dim instance As IVsMethodData
Dim iMethod As Integer
Dim returnValue As Integer

returnValue = instance.GetCurrentParameter(iMethod)
int GetCurrentParameter(
    int iMethod
)
int GetCurrentParameter(
    [InAttribute] int iMethod
)
abstract GetCurrentParameter : 
        iMethod:int -> int 
function GetCurrentParameter(
    iMethod : int
) : int

Parameters

  • iMethod
    Type: System.Int32
    [in] Number of the method that contains the desired parameter.

Return Value

Type: System.Int32

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsMethodData Interface

IVsMethodData Members

Microsoft.VisualStudio.TextManager.Interop Namespace