Freigeben über


IVsMethodTipWindow.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

'Declaration
Function SetMethodData ( _
    pMethodData As IVsMethodData _
) As Integer
'Usage
Dim instance As IVsMethodTipWindow
Dim pMethodData As IVsMethodData
Dim returnValue As Integer

returnValue = instance.SetMethodData(pMethodData)
int SetMethodData(
    IVsMethodData pMethodData
)
int SetMethodData(
    [InAttribute] IVsMethodData^ pMethodData
)
abstract SetMethodData : 
        pMethodData:IVsMethodData -> int 
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.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsMethodTipWindow::SetMethodData(
   [in] IVsMethodData *pMethodData
);

Call SetMethodData to provide a method tip window for a keyword that the user has typed into the core editor.

.NET Framework Security

See Also

Reference

IVsMethodTipWindow Interface

IVsMethodTipWindow Members

Microsoft.VisualStudio.TextManager.Interop Namespace