,在插入行的更改发生时,将通知客户端。
命名空间: 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
)
参数
pView
类型:Microsoft.VisualStudio.TextManager.Interop.IVsTextView[in] 查看对象的指针。
iNewLine
类型:Int32[in] 包含新行的整数。
iOldLine
类型:Int32[in] 包含旧行的整数。
备注
COM 签名
从 textmgr.idl:
HRESULT IVsTextViewEvents::OnChangeCaretLine(
[in] IVsTextView *pView,
[in] long iNewLine,
[in] long iOldLine
);
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。