返回指定的参数名称指定的一个方法。
命名空间: 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] 信息所需的参数号。
type
类型:Microsoft.VisualStudio.TextManager.Interop.ParameterTextType[in] 参数类型。 有关 type 值列表,请参见 ParameterTextType。
返回值
类型:IntPtr
备注
COM 签名
从 textmgr.idl:
const WCHAR * IVsMethodData::GetParameterText(
[in] long iMethod,
[in] long iParm,
[in] ParameterTextType type
);
使用此方法返回参数名称、标题或说明信息到视图。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。