Share via


IVsTextMarkerTypeProvider Interface

Returns an IVsPackageDefinedTextMarkerType interface from a service providing a text markers other packages.

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

Syntax

'Declaration
<GuidAttribute("7EF86CFD-D561-4BA5-9F38-C1BFF588E3AC")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextMarkerTypeProvider
[GuidAttribute("7EF86CFD-D561-4BA5-9F38-C1BFF588E3AC")]
[InterfaceTypeAttribute()]
public interface IVsTextMarkerTypeProvider
[GuidAttribute(L"7EF86CFD-D561-4BA5-9F38-C1BFF588E3AC")]
[InterfaceTypeAttribute()]
public interface class IVsTextMarkerTypeProvider
[<GuidAttribute("7EF86CFD-D561-4BA5-9F38-C1BFF588E3AC")>]
[<InterfaceTypeAttribute()>]
type IVsTextMarkerTypeProvider =  interface end
public interface IVsTextMarkerTypeProvider

The IVsTextMarkerTypeProvider type exposes the following members.

Methods

  Name Description
Public method GetTextMarkerType Allows you to return a pointer to your IVsPackageDefinedTextMarkerType implementation for a custom marker type.

Top

Remarks

The IVsPackageDefinedTextMarkerType interface returned by a VSPackage's implementation of IVsTextMarkerTypeProvider provides access to properties of the text marker provided by the VSPackage.

Notes to Implementers

Implement if on a VSPackage making text markers available to other services. Use SProfferService to implement this interface

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace