IVsTextViewEvents.OnChangeCaretLine Method
Notifies the client when a change of caret line occurs.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
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
)
Parameters
- pView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
[in] Pointer to a view object.
- iNewLine
Type: System.Int32
[in] Integer containing the new line.
- iOldLine
Type: System.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
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.