Partager via


VsMethodTipWindowClass.SetMethodData Method

Sets method data to display in the method tip window and releases previous method data.

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

Syntax

'Déclaration
Public Overridable Function SetMethodData ( _
    pMethodData As IVsMethodData _
) As Integer
public virtual int SetMethodData(
    IVsMethodData pMethodData
)
public:
virtual int SetMethodData(
    [InAttribute] IVsMethodData^ pMethodData
)
abstract SetMethodData : 
        pMethodData:IVsMethodData -> int 
override SetMethodData : 
        pMethodData:IVsMethodData -> int 
public function SetMethodData(
    pMethodData : IVsMethodData
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsMethodTipWindow.SetMethodData(IVsMethodData)

.NET Framework Security

See Also

Reference

VsMethodTipWindowClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace