Compartir a través de


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

'Declaration
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

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

See Also

Reference

IVsTextImageEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace