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

'宣言
Function GetCurrentParameter ( _
    iMethod As Integer _
) As Integer
'使用
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
)
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
);

Permissions

See Also

Reference

IVsMethodData Interface

IVsMethodData Members

Microsoft.VisualStudio.TextManager.Interop Namespace