IVsTextImageEvents.OnTextChange Method
Notifies client of a text image change.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Sub OnTextChange ( _
taStart As TextAddress, _
taEnd As TextAddress, _
taNewEnd As TextAddress _
)
void OnTextChange(
TextAddress taStart,
TextAddress taEnd,
TextAddress taNewEnd
)
void OnTextChange(
[InAttribute] TextAddress taStart,
[InAttribute] TextAddress taEnd,
[InAttribute] TextAddress taNewEnd
)
abstract OnTextChange :
taStart:TextAddress *
taEnd:TextAddress *
taNewEnd:TextAddress -> unit
function OnTextChange(
taStart : TextAddress,
taEnd : TextAddress,
taNewEnd : TextAddress
)
Parameters
- taStart
Type: Microsoft.VisualStudio.TextManager.Interop.TextAddress
[in] Starting address of text image.
- taEnd
Type: Microsoft.VisualStudio.TextManager.Interop.TextAddress
[in] Ending address of text image.
- taNewEnd
Type: Microsoft.VisualStudio.TextManager.Interop.TextAddress
[in] New ending address of text image.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextImageEvents::OnTextChange(
[in] TextAddress taStart,
[in] TextAddress taEnd,
[in] TextAddress taNewEnd
);
The environment passes a pointer to this interface through a call to AdviseTextImageEvents. Use this method to notify the environment of any changes to your text image.
.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.