IVsTextStorage 接口

由文本编辑器视图可见和可编辑的文本范围。

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

语法

声明
<GuidAttribute("1ABAC269-8FB0-438E-8217-230AC6EB5766")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextStorage
[GuidAttribute("1ABAC269-8FB0-438E-8217-230AC6EB5766")]
[InterfaceTypeAttribute()]
public interface IVsTextStorage
[GuidAttribute(L"1ABAC269-8FB0-438E-8217-230AC6EB5766")]
[InterfaceTypeAttribute()]
public interface class IVsTextStorage
[<GuidAttribute("1ABAC269-8FB0-438E-8217-230AC6EB5766")>]
[<InterfaceTypeAttribute()>]
type IVsTextStorage =  interface end
public interface IVsTextStorage

IVsTextStorage 类型公开以下成员。

方法

  名称 说明
公共方法 Storage_Attach
公共方法 Storage_CopyText
公共方法 Storage_Detach
公共方法 Storage_Find
公共方法 Storage_GetCharsInSpan
公共方法 Storage_GetLanguageServiceID
公共方法 Storage_GetLength
公共方法 Storage_GetLengthOfLine
公共方法 Storage_GetLineCount
公共方法 Storage_GetLineDataEx
公共方法 Storage_GetLineIndexOfPosition
公共方法 Storage_GetPositionOfLineIndex
公共方法 Storage_RefreshColorization
公共方法 Storage_ReleaseLineDataEx
公共方法 Storage_Replace
公共方法 Storage_SetLanguageServiceID

页首

备注

IVsTextStorage 对于所有存储对象是必需的。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间

IVsTextStorage2