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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.