IVsTextMarkerClient Interface

Provides callbacks to the Visual Studio environment and other processes used to manipulate a text marker.

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

Syntax

'Déclaration
<GuidAttribute("B1938F1B-D7A9-42F8-9960-D009027B3D2E")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextMarkerClient
'Utilisation
Dim instance As IVsTextMarkerClient
[GuidAttribute("B1938F1B-D7A9-42F8-9960-D009027B3D2E")]
[InterfaceTypeAttribute()]
public interface IVsTextMarkerClient
[GuidAttribute(L"B1938F1B-D7A9-42F8-9960-D009027B3D2E")]
[InterfaceTypeAttribute()]
public interface class IVsTextMarkerClient
[<GuidAttribute("B1938F1B-D7A9-42F8-9960-D009027B3D2E")>]
[<InterfaceTypeAttribute()>]
type IVsTextMarkerClient =  interface end
public interface IVsTextMarkerClient

Remarks

When creating a marker using either M:Microsoft.VisualStudio.TextManager.Interop.IVsTextLines.CreateLineMarker(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Microsoft.VisualStudio.TextManager.Interop.IVsTextMarkerClient,Microsoft.VisualStudio.TextManager.Interop.IVsTextLineMarker[]) or CreateStreamMarker, you can provide a pointer to your implementation of IVsTextMarkerClient to be informed of changes to the newly-created marker. This allows you to provide enhanced marker behavior, such as tip text and command execution. You can also use this notification to produce a custom context menu over the marker by implementing the GetMarkerCommandInfo and ExecMarkerCommand methods.

Notes to Implementers

Implement this interface to be informed of changes to an individual marker.

Notes to Callers

Called by the text buffer when changes to a marker occur.

See Also

Reference

IVsTextMarkerClient Members

Microsoft.VisualStudio.TextManager.Interop Namespace