IVsMethodData::GetParameterText Method (Int32, Int32, ParameterTextType)

 

Gets the text, usually 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)

IntPtr GetParameterText(
	int iMethod,
	int iParm,
	ParameterTextType type
)

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

Returns the text of the specified parameter. May be null.

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.

Return to top
Show: