IVsMethodData.GetParameterText Method
Returns the name of a specified parameter for a specified method.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Déclaration
Function GetParameterText ( _
iMethod As Integer, _
iParm As Integer, _
type As ParameterTextType _
) As IntPtr
'Utilisation
Dim instance As IVsMethodData
Dim iMethod As Integer
Dim iParm As Integer
Dim type As ParameterTextType
Dim returnValue As IntPtr
returnValue = instance.GetParameterText(iMethod, _
iParm, type)
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
Parameters
- iMethod
Type: System.Int32
[in] Method number for which to obtain parameter information.
- iParm
Type: System.Int32
[in] Parameter number for which information is required.
- type
Type: Microsoft.VisualStudio.TextManager.Interop.ParameterTextType
[in] Parameter type. For a list of type values, see ParameterTextType.
Return Value
Type: System.IntPtr
Remarks
COM Signature
From textmgr.idl:
const WCHAR * IVsMethodData::GetParameterText(
[in] long iMethod,
[in] long iParm,
[in] ParameterTextType type
);
Use this method to return parameter name, description, or declaration information to the view.
.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.