Condividi tramite


IVsTextLayerMarker Interfaccia

Definizione

Fornisce la gestione degli oggetti marcatore in un livello arbitrario.

public interface class IVsTextLayerMarker : Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker
public interface class IVsTextLayerMarker : Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker
__interface IVsTextLayerMarker : Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextLayerMarker : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextLayerMarker : Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextLayerMarker = interface
    interface IVsTextMarker
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("28C149D2-8FCB-4AB3-8584-9A2747F3F8FC")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextLayerMarker = interface
    interface IVsTextMarker
Public Interface IVsTextLayerMarker
Implements IVsTextMarker
Attributi
Implementazioni

Commenti

Questa interfaccia viene esposta dagli oggetti marcatore che vivono in un livello arbitrario. Sono un concetto più generale di un marcatore di buffer. I marcatori buffer sono marcatori di livello di definizione, ma alcuni livelli che non sono buffer possono anche originare marcatori. Se si ha o IVsTextLineMarkerIVsTextStreamMarker è garantito che è possibile QueryInterface per IVsTextLayerMarker, ma non viceversa. Questo valore sarà true per i marcatori originati dal buffer.

Metodi

DrawGlyph(IntPtr, RECT[])

Disegna un glifo nella data dc & RECT.

DrawGlyphEx(UInt32, IntPtr, RECT[], Int32)

Disegna un glifo nella data dc & RECT.

ExecMarkerCommand(Int32)

Esegue il comando marcatore specificato.

GetBehavior(UInt32)

Restituisce il comportamento del marcatore.

GetCurrentSpan(TextSpan[])

Restituisce la posizione dell'intervallo corrente.

GetMarkerCommandInfo(Int32, String[], UInt32[])

Ottiene le informazioni sul comando del marcatore.

GetPriorityIndex(Int32)

Restituisce l'indice di priorità.

GetTextLayer(IVsTextLayer)

Ottiene il livello di testo.

GetTipText(String[])

Restituisce il testo della descrizione comando.

GetType(Int32)

Restituisce il tipo di marcatore.

GetVisualStyle(UInt32)

Restituisce lo stile visivo di un marcatore.

Invalidate()

Impedisce la visualizzazione di un marcatore nell'interfaccia utente, anche se sono presenti riferimenti persistenti.

IsInvalidated()

Determina se un marcatore è stato invalidato.

QueryClientInterface(Guid, IntPtr)

Ottiene l'interfaccia client specificata.

ResetSpan(Int32, Int32, Int32, Int32)

Reimposta la posizione del marcatore.

SetBehavior(UInt32)

Imposta il comportamento del marcatore.

SetType(Int32)

Imposta il tipo di marcatore.

SetVisualStyle(UInt32)

Imposta lo stile dell'oggetto visivo del marcatore.

UnadviseClient()

Annulla l'avviso al client, se presente.

Si applica a