Condividi tramite


Metodo IVsTextLinesEvents.OnChangeLineAttributes

Notifica al client quando gli attributi della riga di testo sono stati modificati.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Sintassi

'Dichiarazione
Sub OnChangeLineAttributes ( _
    iFirstLine As Integer, _
    iLastLine As Integer _
)
void OnChangeLineAttributes(
    int iFirstLine,
    int iLastLine
)
void OnChangeLineAttributes(
    [InAttribute] int iFirstLine, 
    [InAttribute] int iLastLine
)
abstract OnChangeLineAttributes : 
        iFirstLine:int * 
        iLastLine:int -> unit
function OnChangeLineAttributes(
    iFirstLine : int, 
    iLastLine : int
)

Parametri

  • iFirstLine
    Tipo: Int32

    [in] Prima riga modificata, inclusa.

  • iLastLine
    Tipo: Int32

    [in] Riga sull'ultimo, inclusa.

Note

Firma COM

da textmgr.idl:

HRESULT IVsTextLinesEvents::OnChangeLineAttributes(
   [in] long iFirstLine,
   [in] long iLastLine
);

L'evento viene chiamato in qualsiasi istanza in cui modifiche nell'output del testo delle modifiche agli attributi della riga di testo, ad esempio la sintassi e colorazione dei marcatori. Le modifiche di testo possono verificarsi sia a livello di codice sia con azione utente.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsTextLinesEvents Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop