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
- pView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
[in] The text view.
- pMarker
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker
[in] Pointer to the IVsTextMarker interface for the marker.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.