IVsTextMarkerGlyphDropHandler Interface
A handler provided for markers whose glyphs (an icon indicating the position of a marker) support drag and drop.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("1E220776-3C20-46E9-A691-DE549C295E26")> _
Public Interface IVsTextMarkerGlyphDropHandler
用法
Dim instance As IVsTextMarkerGlyphDropHandler
[InterfaceTypeAttribute()]
[GuidAttribute("1E220776-3C20-46E9-A691-DE549C295E26")]
public interface IVsTextMarkerGlyphDropHandler
[InterfaceTypeAttribute()]
[GuidAttribute(L"1E220776-3C20-46E9-A691-DE549C295E26")]
public interface class IVsTextMarkerGlyphDropHandler
[<InterfaceTypeAttribute()>]
[<GuidAttribute("1E220776-3C20-46E9-A691-DE549C295E26")>]
type IVsTextMarkerGlyphDropHandler = interface end
public interface IVsTextMarkerGlyphDropHandler
Remarks
A text view calls QueryInterface on a text marker's IVsTextMarkerClient interface for those interfaces needed to handle mouse cursor and drag and drop operations.
To handle drag and drop operations, the environment performs calls QueryInterface on IVsTextMarkerClientto obtain the underlying object's IVsTextMarkerGlyphDropHandler interface.
The object implementing IVsTextMarkerClient should also implement IVsMouseCursorProvider to handle mouse cursor updates.
Notes to Implementers
Implement on the class implementing IVsTextMarkerClient: text marker client object. When MV_DRAGGABLE_GLYPH is specified, the environment will call QueryInterface on the text marker client for the IVsTextMarkerGlyphDropHandler interface when a drag and drop is underway.