IVsTextStreamEvents.OnChangeStreamAttributes Method
Notifies the client that the text stream attributes have changed.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Sub OnChangeStreamAttributes ( _
iPos As Integer, _
iLength As Integer _
)
void OnChangeStreamAttributes(
int iPos,
int iLength
)
void OnChangeStreamAttributes(
[InAttribute] int iPos,
[InAttribute] int iLength
)
abstract OnChangeStreamAttributes :
iPos:int *
iLength:int -> unit
function OnChangeStreamAttributes(
iPos : int,
iLength : int
)
Parameters
- iPos
Type: System.Int32
[in] Starting position of the affected text.
- iLength
Type: System.Int32
[in] Length of the text affected in the text stream.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextStreamEvents::OnChangeStreamAttributes(
[in] long iPos,
[in] long iLength
);
This event is called in any instance where changes in text result in changes in text stream attributes, such as syntax and marker coloring. Text changes can occur both programmatically and through user action.
.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.