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
pView
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextView[in] Ponteiro para um objeto de exibição.
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
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.