IVsTextImage 接口

支持文本字符串匹配。

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

语法

声明
<GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextImage
[GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface IVsTextImage
[GuidAttribute(L"67068DC0-C069-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface class IVsTextImage
[<GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")>]
[<InterfaceTypeAttribute()>]
type IVsTextImage =  interface end
public interface IVsTextImage

IVsTextImage 类型公开以下成员。

方法

  名称 说明
公共方法 AdviseTextImageEvents 注册接收文本图像的通知该环境的更改。
公共方法 GetCharSize 返回字符数在文本的图像。
公共方法 GetLine 提供对文本缓冲区的直接, (可沿的访问。
公共方法 GetLineLength 返回行的长度。
公共方法 GetLineSize 返回的行数在文本的图像。
公共方法 GetOffsetOfTextAddress 返回给定文本地址的缓冲区地址。
公共方法 GetSpanLength 返回字符数在文本的大小。
公共方法 GetText 返回文本范围中获取文本。
公共方法 GetTextAddressOfOffset 返回给定缓冲区地址的文本地址。
公共方法 GetTextBSTR 返回文本范围中获取文本作为 BSTR
公共方法 LockImage 请注意文本图像正在使用。
公共方法 ReleaseLine 释放 LINEDATAEX 结构。
公共方法 Replace 文本范围替换的通知。
公共方法 UnadviseTextImageEvents 取消环境注册接收文本图像更改的通知。
公共方法 UnlockImage 请注意文本图像未在使用中。

页首

备注

对实现者的说明

实现此接口支持查找和替换在文本图像。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间

IVsTextImage2