Partilhar via


VsMethodTipWindowClass.SetMethodData(IVsMethodData) Method

Definition

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

public:
 virtual int SetMethodData(Microsoft::VisualStudio::TextManager::Interop::IVsMethodData ^ pMethodData) = Microsoft::VisualStudio::TextManager::Interop::IVsMethodTipWindow::SetMethodData;
public:
 virtual int SetMethodData(Microsoft::VisualStudio::TextManager::Interop::IVsMethodData ^ pMethodData);
public:
 virtual int SetMethodData(Microsoft::VisualStudio::TextManager::Interop::IVsMethodData ^ pMethodData) = Microsoft::VisualStudio::TextManager::Interop::IVsMethodTipWindow::SetMethodData;
 virtual int SetMethodData(Microsoft::VisualStudio::TextManager::Interop::IVsMethodData const & pMethodData);
public virtual int SetMethodData (Microsoft.VisualStudio.TextManager.Interop.IVsMethodData pMethodData);
abstract member SetMethodData : Microsoft.VisualStudio.TextManager.Interop.IVsMethodData -> int
override this.SetMethodData : Microsoft.VisualStudio.TextManager.Interop.IVsMethodData -> int
Public Overridable Function SetMethodData (pMethodData As IVsMethodData) As Integer

Parameters

pMethodData
IVsMethodData

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

Returns

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

Implements

Applies to