Share via


IVsTextMarkerClient.GetTipText(IVsTextMarker, String[]) Method

Definition

Returns the tip text for the text marker when the mouse hovers over the marker.

int GetTipText(Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker const & pMarker, std::Array <std::wstring const &> const & pbstrText);
public int GetTipText (Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker pMarker, string[] pbstrText);
abstract member GetTipText : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker * string[] -> int
Public Function GetTipText (pMarker As IVsTextMarker, Optional pbstrText As String()) As Integer

Parameters

pMarker
IVsTextMarker

[in] Pointer to the IVsTextMarker interface for the marker.

pbstrText
String[]

[out] Tip text associated with the marker.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerClient::GetTipText(  
   [in] IVsTextMarker* pMarker,  
   [out, optional] BSTR *pbstrText  
);  

Applies to