DocData.IVsTextStreamEvents.OnChangeStreamText Method
Provides a notification from Visual Studio that something in the text has changed.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Dichiarazione
Private Sub OnChangeStreamText ( _
iPos As Integer, _
iOldLen As Integer, _
iNewLen As Integer, _
fLast As Integer _
) Implements IVsTextStreamEvents.OnChangeStreamText
'Utilizzo
Dim instance As DocData
Dim iPos As Integer
Dim iOldLen As Integer
Dim iNewLen As Integer
Dim fLast As Integer
CType(instance, IVsTextStreamEvents).OnChangeStreamText(iPos, _
iOldLen, iNewLen, fLast)
void IVsTextStreamEvents.OnChangeStreamText(
int iPos,
int iOldLen,
int iNewLen,
int fLast
)
private:
virtual void OnChangeStreamText(
int iPos,
int iOldLen,
int iNewLen,
int fLast
) sealed = IVsTextStreamEvents::OnChangeStreamText
private abstract OnChangeStreamText :
iPos:int *
iOldLen:int *
iNewLen:int *
fLast:int -> unit
private override OnChangeStreamText :
iPos:int *
iOldLen:int *
iNewLen:int *
fLast:int -> unit
JScript does not support explicit interface implementations.
Parameters
- iPos
Type: System.Int32
The position of the change in the underlying text buffer.
- iOldLen
Type: System.Int32
The old length of text in the underlying buffer.
- iNewLen
Type: System.Int32
The new length of text in the underlying buffer.
- fLast
Type: System.Int32
Not used.
Implements
IVsTextStreamEvents.OnChangeStreamText(Int32, Int32, Int32, Int32)
Remarks
Calls OnDataChanged with no arguments.
.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.