表示持久并 unpersisted 的图像。 由文本编辑器视图可见和可编辑的文本范围。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
语法
声明
<GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")> _
Public Interface VsTextImage _
Inherits IVsTextImage
[GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")]
public interface VsTextImage : IVsTextImage
[GuidAttribute(L"67068DC0-C069-11D2-936C-D714766E8B50")]
public interface class VsTextImage : IVsTextImage
[<GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")>]
type VsTextImage =
interface
interface IVsTextImage
end
public interface VsTextImage extends IVsTextImage
VsTextImage 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
AdviseTextImageEvents | 注册接收文本图像的通知该环境的更改。 (继承自 IVsTextImage。) |
![]() |
GetCharSize | 返回字符数在文本的图像。 (继承自 IVsTextImage。) |
![]() |
GetLine | 提供对文本缓冲区的直接, (可沿的访问。 (继承自 IVsTextImage。) |
![]() |
GetLineLength | 返回行的长度。 (继承自 IVsTextImage。) |
![]() |
GetLineSize | 返回的行数在文本的图像。 (继承自 IVsTextImage。) |
![]() |
GetOffsetOfTextAddress | 返回给定文本地址的缓冲区地址。 (继承自 IVsTextImage。) |
![]() |
GetSpanLength | 返回字符数在文本的大小。 (继承自 IVsTextImage。) |
![]() |
GetText | 返回文本范围中获取文本。 (继承自 IVsTextImage。) |
![]() |
GetTextAddressOfOffset | 返回给定缓冲区地址的文本地址。 (继承自 IVsTextImage。) |
![]() |
GetTextBSTR | 返回文本范围中获取文本作为 BSTR (继承自 IVsTextImage。) |
![]() |
LockImage | 请注意文本图像正在使用。 (继承自 IVsTextImage。) |
![]() |
ReleaseLine | 释放 LINEDATAEX 结构。 (继承自 IVsTextImage。) |
![]() |
Replace | 文本范围替换的通知。 (继承自 IVsTextImage。) |
![]() |
UnadviseTextImageEvents | 取消环境注册接收文本图像更改的通知。 (继承自 IVsTextImage。) |
![]() |
UnlockImage | 请注意文本图像未在使用中。 (继承自 IVsTextImage。) |
页首