次の方法で共有


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)

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("69D2811C-682C-4290-B92E-5DFB823DF24C")> _
Public Interface IVsMethodData
'使用
Dim instance As IVsMethodData
[InterfaceTypeAttribute()]
[GuidAttribute("69D2811C-682C-4290-B92E-5DFB823DF24C")]
public interface IVsMethodData
[InterfaceTypeAttribute()]
[GuidAttribute(L"69D2811C-682C-4290-B92E-5DFB823DF24C")]
public interface class IVsMethodData
[<InterfaceTypeAttribute()>]
[<GuidAttribute("69D2811C-682C-4290-B92E-5DFB823DF24C")>]
type IVsMethodData =  interface end
public interface IVsMethodData

Remarks

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 Figures Language Service.

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.

See Also

Reference

IVsMethodData Members

Microsoft.VisualStudio.TextManager.Interop Namespace