IVsMethodData.GetParameterText 方法

返回指定的参数名称指定的一个方法。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
Function GetParameterText ( _
    iMethod As Integer, _
    iParm As Integer, _
    type As ParameterTextType _
) As IntPtr
IntPtr GetParameterText(
    int iMethod,
    int iParm,
    ParameterTextType type
)
IntPtr GetParameterText(
    [InAttribute] int iMethod, 
    [InAttribute] int iParm, 
    [InAttribute] ParameterTextType type
)
abstract GetParameterText : 
        iMethod:int * 
        iParm:int * 
        type:ParameterTextType -> IntPtr
function GetParameterText(
    iMethod : int, 
    iParm : int, 
    type : ParameterTextType
) : IntPtr

参数

  • iMethod
    类型:Int32

    [in] 方法数字可以获取参数信息。

  • iParm
    类型:Int32

    [in] 信息所需的参数号。

返回值

类型:IntPtr

备注

COM 签名

从 textmgr.idl:

const WCHAR * IVsMethodData::GetParameterText(
   [in] long iMethod, 
   [in] long iParm, 
   [in] ParameterTextType type
);

使用此方法返回参数名称、标题或说明信息到视图。

.NET Framework 安全性

请参阅

参考

IVsMethodData 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间