IVsTextViewEvents.OnChangeScrollInfo Method
Notifies a client when the scrolling information is changed.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Déclaration
Sub OnChangeScrollInfo ( _
pView As IVsTextView, _
iBar As Integer, _
iMinUnit As Integer, _
iMaxUnits As Integer, _
iVisibleUnits As Integer, _
iFirstVisibleUnit As Integer _
)
'Utilisation
Dim instance As IVsTextViewEvents
Dim pView As IVsTextView
Dim iBar As Integer
Dim iMinUnit As Integer
Dim iMaxUnits As Integer
Dim iVisibleUnits As Integer
Dim iFirstVisibleUnit As Integer
instance.OnChangeScrollInfo(pView, iBar, _
iMinUnit, iMaxUnits, iVisibleUnits, _
iFirstVisibleUnit)
void OnChangeScrollInfo(
IVsTextView pView,
int iBar,
int iMinUnit,
int iMaxUnits,
int iVisibleUnits,
int iFirstVisibleUnit
)
void OnChangeScrollInfo(
[InAttribute] IVsTextView^ pView,
[InAttribute] int iBar,
[InAttribute] int iMinUnit,
[InAttribute] int iMaxUnits,
[InAttribute] int iVisibleUnits,
[InAttribute] int iFirstVisibleUnit
)
abstract OnChangeScrollInfo :
pView:IVsTextView *
iBar:int *
iMinUnit:int *
iMaxUnits:int *
iVisibleUnits:int *
iFirstVisibleUnit:int -> unit
function OnChangeScrollInfo(
pView : IVsTextView,
iBar : int,
iMinUnit : int,
iMaxUnits : int,
iVisibleUnits : int,
iFirstVisibleUnit : int
)
Parameters
- pView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
[in] Pointer to a view object.
- iBar
Type: System.Int32
[in] Integer value referring to the bar.
- iMinUnit
Type: System.Int32
[in] Integer value for the minimum units.
- iMaxUnits
Type: System.Int32
[in] Integer value for the maximum units.
- iVisibleUnits
Type: System.Int32
[in] Integer value for the visible units.
- iFirstVisibleUnit
Type: System.Int32
[in] Integer value for the first visible unit.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextViewEvents::OnChangeScrollInfo(
[in] IVsTextView *pView,
[in] long iBar,
[in] long iMinUnit,
[in] long iMaxUnits,
[in] long iVisibleUnits,
[in] long iFirstVisibleUnit
);
The reference count is not incremented when you obtain a pointer to IVsTextView; if you want to keep it, call AddRef on it explicitly.
.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.