IVsMethodTipWindow::SetMethodData Method (IVsMethodData^)

 

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)

int SetMethodData(
	IVsMethodData^ pMethodData
)

Parameters

pMethodData
Type: Microsoft.VisualStudio.TextManager.Interop::IVsMethodData^

[in] Pointer to the IVsMethodData interface, which is used to set method and parameter information for the method tip window.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

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.

Return to top
Show: