共用方式為


IVsMethodDataEx Interface

Provides access to the entire text shown for a method in an IntelliSense Parameter Info ToolTip.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("28ABE611-DCB8-4684-9793-105C92839AAB")> _
Public Interface IVsMethodDataEx
[InterfaceTypeAttribute()]
[GuidAttribute("28ABE611-DCB8-4684-9793-105C92839AAB")]
public interface IVsMethodDataEx
[InterfaceTypeAttribute()]
[GuidAttribute(L"28ABE611-DCB8-4684-9793-105C92839AAB")]
public interface class IVsMethodDataEx
[<InterfaceTypeAttribute()>]
[<GuidAttribute("28ABE611-DCB8-4684-9793-105C92839AAB")>]
type IVsMethodDataEx =  interface end
public interface IVsMethodDataEx

The IVsMethodDataEx type exposes the following members.

Methods

  Name Description
Public method GetCopyTipText Returns the text for the specified method that would appear in the ParameterInfo tooltip.

Top

Remarks

Use this interface, if available, to quickly obtain the entire text of a particular method as it would be displayed in an IntelliSense Parameter Info ToolTip. Otherwise, call the methods in the IVsMethodData interface to construct the desired text.

Notes to Implementers

This interface is implemented on the same object that implements the IVsMethodData interface.

Notes to Callers

Obtain this interface by calling the QueryInterface method on an IVsMethodData object (or for managed code, casting an IVsMethodData object to the IVsMethodDataEx interface).

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace