다음을 통해 공유


IVsTextViewEvents.OnChangeCaretLine(IVsTextView, Int32, Int32) Method

Definition

Notifies the client when a change of caret line occurs.

public:
 void OnChangeCaretLine(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView, int iNewLine, int iOldLine);
public:
 void OnChangeCaretLine(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView, int iNewLine, int iOldLine);
void OnChangeCaretLine(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView, int iNewLine, int iOldLine);
public void OnChangeCaretLine (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView, int iNewLine, int iOldLine);
abstract member OnChangeCaretLine : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * int * int -> unit
Public Sub OnChangeCaretLine (pView As IVsTextView, iNewLine As Integer, iOldLine As Integer)

Parameters

pView
IVsTextView

[in] Pointer to a view object.

iNewLine
Int32

[in] Integer containing the new line.

iOldLine
Int32

[in] Integer containing the old line.

Remarks

COM Signature

From textmgr.idl:

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

Applies to