支持文本字符串匹配。
命名空间: 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 | 请注意文本图像未在使用中。 |
页首
备注
对实现者的说明
实现此接口支持查找和替换在文本图像。