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
‘선언
Private Sub OnChangeStreamText ( _
iPos As Integer, _
iOldLen As Integer, _
iNewLen As Integer, _
fLast As Integer _
) Implements IVsTextStreamEvents.OnChangeStreamText
void IVsTextStreamEvents.OnChangeStreamText(
int iPos,
int iOldLen,
int iNewLen,
int fLast
)
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.