Partager via


IVsTextMarkerClientEx.OnHoverOverMarker Method

Definition

Called when user hovers the mouse pointer over the marker.

public:
 int OnHoverOverMarker(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView, Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker ^ pMarker, int fShowUI);
public:
 int OnHoverOverMarker(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView, Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker ^ pMarker, int fShowUI);
int OnHoverOverMarker(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView, Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker const & pMarker, int fShowUI);
public int OnHoverOverMarker (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView, Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker pMarker, int fShowUI);
abstract member OnHoverOverMarker : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker * int -> int
Public Function OnHoverOverMarker (pView As IVsTextView, pMarker As IVsTextMarker, fShowUI As Integer) As Integer

Parameters

pView
IVsTextView

[in] The text view.

pMarker
IVsTextMarker

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

fShowUI
Int32

[in] Flag indicating visibility of UI, true to show the UI, false to hide it.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerClientEx::OnHoverOverMarker(  
   [in] IVsTextView *pView,  
   [in] IVsTextMarker* pMarker,  
   [in] BOOL fShowUI  
);  

Applies to