IVsTextImageEvents.OnTextChange 方法

请注意文本更改图像的客户端。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
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
)

参数

备注

COM 签名

从 textmgr.idl:

HRESULT IVsTextImageEvents::OnTextChange(
   [in] TextAddress taStart,
   [in] TextAddress taEnd,
   [in] TextAddress taNewEnd
);

该环境通过指向此接口通过调用 AdviseTextImageEvents。 使用此方法通知所有更改环境对文本的图像。

.NET Framework 安全性

请参阅

参考

IVsTextImageEvents 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间