IVsTextStreamEvents.OnChangeStreamText Method
Notifies the clients when the content of a text stream in the buffer has changed.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Sub OnChangeStreamText ( _
iPos As Integer, _
iOldLen As Integer, _
iNewLen As Integer, _
fLast As Integer _
)
void OnChangeStreamText(
int iPos,
int iOldLen,
int iNewLen,
int fLast
)
void OnChangeStreamText(
[InAttribute] int iPos,
[InAttribute] int iOldLen,
[InAttribute] int iNewLen,
[InAttribute] int fLast
)
abstract OnChangeStreamText :
iPos:int *
iOldLen:int *
iNewLen:int *
fLast:int -> unit
function OnChangeStreamText(
iPos : int,
iOldLen : int,
iNewLen : int,
fLast : int
)
Parameters
- iPos
Type: System.Int32
[in] Starting position of the affected text.
- iOldLen
Type: System.Int32
[in] Previous length of text.
- iNewLen
Type: System.Int32
[in] New length of text.
- fLast
Type: System.Int32
[in] Obsolete; ignore.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextStreamEvents::OnChangeStreamText(
[in] long iPos,
[in] long iOldLen,
[in] long iNewLen,
[in] BOOL fLast
);
Use this method to determine the stream of affected text before and after a change.
.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.