IVsTextLayerMarker Interface

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

Syntax

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")> _
Public Interface IVsTextLayerMarker _
    Inherits IVsTextMarker
用法
Dim instance As IVsTextLayerMarker
[InterfaceTypeAttribute()]
[GuidAttribute("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")]
public interface IVsTextLayerMarker : IVsTextMarker
[InterfaceTypeAttribute()]
[GuidAttribute(L"28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")]
public interface class IVsTextLayerMarker : IVsTextMarker
[<InterfaceTypeAttribute()>]
[<GuidAttribute("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")>]
type IVsTextLayerMarker =  
    interface
        interface IVsTextMarker
    end
public interface IVsTextLayerMarker extends IVsTextMarker

Remarks

This interface is exposed by marker objects that live in an arbitrary layer. They are a more general concept than a buffer marker. Buffer markers are by definition layer markers, but some layers that are not buffers can also originate markers. If you have an IVsTextLineMarker or IVsTextStreamMarker it is guaranteed that you can QueryInterface for IVsTextLayerMarker, but not vice versa. (This will be true for buffer-originated markers however.)

See Also

Reference

IVsTextLayerMarker Members

Microsoft.VisualStudio.TextManager.Interop Namespace