IVsTextViewEvents.OnChangeCaretLine 方法

,在插入行的更改发生时,将通知客户端。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
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
)

参数

  • iNewLine
    类型:Int32

    [in] 包含新行的整数。

  • iOldLine
    类型:Int32

    [in] 包含旧行的整数。

备注

COM 签名

从 textmgr.idl:

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

.NET Framework 安全性

请参阅

参考

IVsTextViewEvents 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间