Share via


IVsMethodData.GetCurrentParameter Method

Gets the current parameter number of the specified method.

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

Syntax

'Declaration
Function GetCurrentParameter ( _
    iMethod As Integer _
) As Integer
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
Returns the current parameter number.

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsMethodData Interface

Microsoft.VisualStudio.TextManager.Interop Namespace