请注意文本更改图像的客户端。
命名空间: 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
)
参数
taStart
类型:Microsoft.VisualStudio.TextManager.Interop.TextAddress[in] 文本图像起始地址。
taEnd
类型:Microsoft.VisualStudio.TextManager.Interop.TextAddress[in] 关闭文本图像地址。
taNewEnd
类型:Microsoft.VisualStudio.TextManager.Interop.TextAddress[in] 文本图像新的结束地址。
备注
COM 签名
从 textmgr.idl:
HRESULT IVsTextImageEvents::OnTextChange(
[in] TextAddress taStart,
[in] TextAddress taEnd,
[in] TextAddress taNewEnd
);
该环境通过指向此接口通过调用 AdviseTextImageEvents。 使用此方法通知所有更改环境对文本的图像。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。