IVsMethodData Interface
TOC
Collapse the table of content
Expand the table of content

IVsMethodData Interface

 

Sets method data for the tip window.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("69D2811C-682C-4290-B92E-5DFB823DF24C")]
public interface IVsMethodData

NameDescription
System_CAPS_pubmethodGetContextStream(Int32, Int32)

Returns the context stream for the tip.

System_CAPS_pubmethodGetCurMethod()

Returns the current method number.

System_CAPS_pubmethodGetCurrentParameter(Int32)

Gets the current parameter number of the specified method.

System_CAPS_pubmethodGetMethodText(Int32, MethodTextType)

Gets a method return type, method name, or method description.

System_CAPS_pubmethodGetOverloadCount()

Returns the number of overloaded methods.

System_CAPS_pubmethodGetParameterCount(Int32)

Returns the total number of parameters in a specified method.

System_CAPS_pubmethodGetParameterText(Int32, Int32, ParameterTextType)

Gets the text, usually the name, of a specified parameter for a specified method.

System_CAPS_pubmethodNextMethod()

Gets the next method number.

System_CAPS_pubmethodOnDismiss()

Dismisses the context.

System_CAPS_pubmethodPrevMethod()

Gets the previous method number.

System_CAPS_pubmethodUpdateView()

Updates the tip window when context or content has changed.

When the language service recognizes a character indicating that method data should be provided (for example, a parenthesis "("), then the language service calls SetMethodData to tell the view that it wants to display a method tip window. The view then calls back into the language service using the methods of IVsMethodData to get the required information to display the method tip. See illustrations of the implementation and/or calling of this interface in the sample .d166df06-9a77-491d-aa81-6834a4ad7e50

Notes to Implementers:

Implement this interface on your language service object to provide data for the method tip window.

Notes to Callers:

Called by the view to obtain information for the method tip window.

Return to top
Show:
© 2016 Microsoft