Partilhar via


Método IVsTextViewEvents.OnChangeCaretLine

Notifica o cliente quando ocorre uma alteração da linha do cursor.

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

Sintaxe

'Declaração
Sub OnChangeCaretLine ( _
    pView As IVsTextView, _
    iNewLine As Integer, _
    iOldLine As Integer _
)
void OnChangeCaretLine(
    IVsTextView pView,
    int iNewLine,
    int iOldLine
)
void OnChangeCaretLine(
    [InAttribute] IVsTextView^ pView, 
    [InAttribute] int iNewLine, 
    [InAttribute] int iOldLine
)
abstract OnChangeCaretLine : 
        pView:IVsTextView * 
        iNewLine:int * 
        iOldLine:int -> unit
function OnChangeCaretLine(
    pView : IVsTextView, 
    iNewLine : int, 
    iOldLine : int
)

Parâmetros

  • iNewLine
    Tipo: Int32

    [in] Integer que contém a nova linha.

  • iOldLine
    Tipo: Int32

    [in] Integer que contém a linha antiga.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextViewEvents::OnChangeCaretLine(
   [in] IVsTextView *pView,
   [in] long iNewLine,
   [in] long iOldLine
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextViewEvents Interface

Namespace Microsoft.VisualStudio.TextManager.Interop