共用方式為


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