共用方式為


IVsTextMarkerClientEx.OnHoverOverMarker Method

Called when user hovers the mouse pointer over the marker.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function OnHoverOverMarker ( _
    pView As IVsTextView, _
    pMarker As IVsTextMarker, _
    fShowUI As Integer _
) As Integer
int OnHoverOverMarker(
    IVsTextView pView,
    IVsTextMarker pMarker,
    int fShowUI
)
int OnHoverOverMarker(
    [InAttribute] IVsTextView^ pView, 
    [InAttribute] IVsTextMarker^ pMarker, 
    [InAttribute] int fShowUI
)
abstract OnHoverOverMarker : 
        pView:IVsTextView * 
        pMarker:IVsTextMarker * 
        fShowUI:int -> int 
function OnHoverOverMarker(
    pView : IVsTextView, 
    pMarker : IVsTextMarker, 
    fShowUI : int
) : int

Parameters

  • fShowUI
    Type: System.Int32
    [in] Flag indicating visibility of UI, true to show the UI, false to hide it.

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 IVsTextMarkerClientEx::OnHoverOverMarker(
   [in] IVsTextView *pView,
   [in] IVsTextMarker* pMarker,
   [in] BOOL fShowUI
);

.NET Framework Security

See Also

Reference

IVsTextMarkerClientEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace