This topic has not yet been rated - Rate this topic

IVsPackageDefinedTextMarkerType Interface

Describes how a custom marker type behaves and appears to the user.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)

[GuidAttribute("C70F1528-1A66-403F-AD42-F60F9D413E05")] 
[InterfaceTypeAttribute(1)] 
public interface IVsPackageDefinedTextMarkerType
/** @attribute GuidAttribute("C70F1528-1A66-403F-AD42-F60F9D413E05") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsPackageDefinedTextMarkerType
GuidAttribute("C70F1528-1A66-403F-AD42-F60F9D413E05") 
InterfaceTypeAttribute(1) 
public interface IVsPackageDefinedTextMarkerType

This interface allows you to specify marker behavior for a custom marker type. You can still change certain marker attributes using the IVsTextMarker interface (SetBehavior), SetVisualStyle, and so on) as well as by supplying an IVsTextMarkerClient when you create a marker.

Implement IVsPackageDefinedTextMarkerType to describe how a given marker behaves and appears to the user. The environment calls the methods of IVsPackageDefinedTextMarkerType when new customization information is built as follows:

  • User starts the integrated development environment (IDE) for the first time.

  • User selects Options on the Tools menu, and then clicks the Reset Defaults button in the Font and Colors dialog box.

Notes to Implementers Implemented to provide a custom marker type.

Notes to Callers Called by the environment to determine marker information applicable to your custom marker type.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ